File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes I/O and Streams and the fly likes SocketException ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "SocketException ??" Watch "SocketException ??" New topic
Author

SocketException ??

yogesh somavanshi
Greenhorn

Joined: Jan 11, 2002
Posts: 6
I am using HttpUrlConnection object and then stream I/O for making a
connection to url and then reading the complete Html Page.
Does stream I/O or Socketing has to do anything with the personal settings
because when I am logging into my friends Machine with my ID and Password
the java Class which works fine with his ID throws the below exception.
java.net.SocketException: JVM_SetSockOpt() TCP_NODELAY (code=10055)
at java.net.PlainSocketImpl.socketSetOption(Native Method)
at java.net.PlainSocketImpl.setOption(Unknown Source)
at java.net.Socket.setTcpNoDelay(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown
Source)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
So waiting for help.
Regards
Yogesh
java.net.SocketException: JVM_SetSockOpt() TCP_NODELAY (code=10055)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SocketException ??