This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Artima Forums.
Message:
ServerSocket class gives exception- option unsupported by protocol
Posted by Shailesh Nagare on February 20, 2001 at 9:02 AM
Hi I am trying client/server programmes on my machine at home which is not on net. The socket programmes i test at my office does not work at home. Following code generates error- ServerSocket mysoc = new ServerSocket(PORT) ; compile time error is - java.net.SocketException: option unsupported by protocol:create at java.net.PlainSocketImpl.Socket cerate(Native Method) etc.etc. Same code works on other machine. What's real problem ? Any protocol installation on machine is required ?
Replies:
|