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
Posted by Peter Lynch on September 20, 2001 at 3:03 AM
I have for quite a while struggled with this problem on my pc. I run Win95
and have been trialling a couple of simple Java client/server
programs, which gave me this error. I finally fixed it by
upgrading TCP/IP on my pc. Here is what I did:
1. At http://www.microsoft.com/windows95/downloads/contents/WUAdminTools/S_WUNetworkingTools/W95Sockets2/Default.asp
you can download the Windows Socket 2 update. Download this
file, install it and reboot your pc.
2. Next, at http://www.microsoft.com/windows95/downloads/contents/WURecommended/S_WUNetworking/dunwinsky2k/Default.asp
download the file, install it and reboot your pc.
That's it! I can now run my client and server programs and
make them talk to each other.
> 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)
> Same code works on other machine.
> What's real problem ? Any protocol installation on machine is
> required ?
- Hi Uran December 27, 2001 at 6:40 AM