how to handle this socket exception
-
hi, I have created two applications using vb.net. One acts as server and other as client. To have communication between these two, in server application i m using winsock control and in client application i am using socket class. when i sends data from client application, server connection dies while reading data second time and raises the exception and flashes error "An existing connection was forcibly closed by the remote host". Please tell at the earliest how this error can be resolved. how this connection can be kept alive. Thanks.
-
hi, I have created two applications using vb.net. One acts as server and other as client. To have communication between these two, in server application i m using winsock control and in client application i am using socket class. when i sends data from client application, server connection dies while reading data second time and raises the exception and flashes error "An existing connection was forcibly closed by the remote host". Please tell at the earliest how this error can be resolved. how this connection can be kept alive. Thanks.
Post some code of the connection routine for both client and server.
Tom Wright tawright915@gmail.com