some thread problem in client/server application
-
Hello, I have a problem on receiving messages from server. I developed a server in C++ and a client in C#. It seems that server runs well but when I try to connect, I get the message "unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an applicaion request." I'm not sure but when I was writing the client module, I used some eventhandlers to warn when data is read. May be this can cause some thread promblem because I use asynchronous communication. In addition, the client can send messages to server but is unable to receive any. Can somebody show me a way?
-
Hello, I have a problem on receiving messages from server. I developed a server in C++ and a client in C#. It seems that server runs well but when I try to connect, I get the message "unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an applicaion request." I'm not sure but when I was writing the client module, I used some eventhandlers to warn when data is read. May be this can cause some thread promblem because I use asynchronous communication. In addition, the client can send messages to server but is unable to receive any. Can somebody show me a way?
What is the socket config you have done? It will depend upon it. I assume that the socket config is at fault
Excelsior Arjun Bahree "By The Might of Mjolnir" I Came! I Coded! I Conquered!