Hi all
I'm working on application that will communicate with hardware wifi module. As communication interface I'm using TCP -module create server and my application connect to server. For my use i am using Visual c++ (2008 express edition) and I tuned up this example code for my purpose:
http://msdn.microsoft.com/en-us/library/vstudio/system.net.sockets.tcpclient(v=vs.100).aspx
Now to the problem, I can connect to server communicate, but server is sometimes sending something 'unexpected', and I'm losing this data. Is it possible to use socket to read data from server asynchronously or when they are received ?