I’m working on a program using a TCP server sockets. I have another application (pc-based) that can connect to this socket and send data etc.
Now there is a problem receiving data from the pc application.
When I connect to the TCP server, I get the WIP_CEV_OPEN event, than the WIP_CEV_WRITE. So that’s OK.
But when I send data from my pc application to the TCP server, it doesn’t fire up an event.
When I close my socketconnection on the pc application, I receive a WIP_CEV_READ event, this event has all the data that was send from the pc application.
Then I receive a WIP_CEV_PEER_CLOSE event, which closes the connection.
But how can I get a WIP_CEV_READ event when I send the data, and NOT when I close the socket from the client side (pc application)?
Thank you very much