Hello Andrew,

Explaination for your problem could be such....

First of all let me assume(since u have not said it) that you are making an
instance of Socket and not ServerSocket

O.K.

What could be happenning is that when you create an instance of Socket
there is some ServerSocket at the specified port to provide the services...
But when you actually want to access the services and you do a
getInputStream.. at that time ServerSocket has closed out....

Regards,

Daljit

-----Original Message-----
From:   Andrew Fairburn [SMTP:[EMAIL PROTECTED]]
Sent:   Thursday, November 23, 2000 9:02 PM
To:     [EMAIL PROTECTED]
Subject:        java.io.IOException: Socket Closed

Hello,
Apologies for asking this again but has anyone got any explanation for this
exception - I'm using jswdk-1.0.1 on NT.  Thanks all.

Andy

HANDLER THREAD PROBLEM: java.io.IOException: Socket Closed
java.io.IOException: Socket Closed
        at java.net.PlainSocketImpl.getInputStream(PlainSocketImpl.java:
421)
        at java.net.Socket$1.run(Socket.java:335)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.Socket.getInputStream(Socket.java:332)
        at
com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:161)

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to