The Artima Developer Community
Sponsored Link

Legacy Design Forum
Designing with Runtime Class Information

Advertisement

Advertisement

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:

Hi

Posted by Uran on December 27, 2001 at 6:40 AM

> Shailesh,

> 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.

> Good luck,
> Peter

>
> >
> > 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:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us