Socket Error: Address in Use
Hello. I am opening a Socket connection to a router which is acting as a terminal server (by connecting to a particular port and IP, a serial port can be accessed through a TCP/IP network). I am reading am writing to a GPS receiver on the other end.
The Socket opens fine. I close it with apparently no errors. However if I start my application again immediately, I get an error during the Socket constructor (or maybe the open-method) of "Address in use: no additional information". Does anyone have any ideas what in general might be causing this error? My application tries to reconnect every 10 seconds. After a couple minutes the application will be able to open the connection.
What is fustrating to me is that we have other sockets being opened to the same router from this same machine and they don't seem to have the problem. I even pasted in the closing code from the other sockets and the problem doesn't seem to go away. The only difference is the other sockets are a raw binary connection and this one is an ASCII telnet-style connection.
Anyone have any ideas?

