title: TCP client Asynchronous socket callback
body: <p><strong>Please note the question is about using an asynchronous callback mode only on sockets</strong>!</p>
  
  <p>I want to build a TCP client that will notify me when a packet is received and when i the socket is being closed,because the feautures that NET offers with beginRecv,endRecv doesn't inform if the connection is still available.</p>
  
  <p>My question:
  Isn't there a way to create a TCP client much like using WinAPI? </p>
  
  <p>I mean calling WSAAsyncSelect with a message,when the message is received it calls the function you've called in WSAAsyncSelect and then you can see whether the connection is closed or there's a new packet through the WParams FD_CLOSE FD_READ FD_WRITE.</p>
  
  <p>If there isn't.Can't I control my connection and my incoming packets at the same time? I don't want to call BeginRecv EndRecv all the time. -.-</p>
  
  <p>Thanks in advance!</p>