Re: sockets problem

1999-07-19 Thread Gary Howard
Make sure you are not using a println() to write out your commands since the "ln" part is platform dependent and typically not CRLF which is probably not what telnet is looking for. Instead, use: String CRLF = "\r\n"; String command = "telnet_command"; PrintWriter writer = new PrintWrit

Re: [sockets problem]

1999-07-14 Thread Yuwin Fei
You should be able to track if there's any exception occured to the sockets in question, of course that's assuming that you're performing IO on them, such as attempting to read or write on the sockets. One thing you should keep watch for is the variable that keeps track of the socket is being

sockets problem

1999-07-14 Thread Greg Walker
I am having a problem with a server written in java that uses sockets. The server runs fine; the problem arises when I try to access it. The client is simply telnet and after making a connection, and receiving a handful of bytes, the client hangs as if the server is not responding. Yet the server