I have an app that used the Socket class to do FTP. When I run the application on Server 2008 r2 (.net 3.5), it works perfectly. When I run it on Server 2003 (.net 3.5) the Socket.Receive blows up and I get a " An existing connection was forcibly closed by the remote host" error.
The FTP server is running Server 2008 r2. If I connect to an FTP server running Server 2003 from a server running Server 2003, all is fine or if I connect Server 2008 to Server 2008 all is fine.
This is the line of code that throws the error:
bytes = clientSocket.Receive(buffer, buffer.Length, 0);
Has anybody heard of any issues about Sockets being used between the 2 different OS's being a problem?
Bob Bevers