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) One thing is sure that I am able to connect to the respective url, only while reading its content it throws the above Exception ? Waiting for help. Regards Yogesh
Laudney Ren
Ranch Hand
Joined: Jan 06, 2002
Posts: 111
posted
0
You'd better post the source codes.
" Veni, vidi, vici "<br />" I came, I saw, I conquered "