title: TCP listen socket error
body: <p>I have 2 program, client and server, client program send data with specific port (EX:1370) by <em>TCP</em> protocol.<br>
  I use following code to wait for a client in my server program. </p>
  
  <pre><code>IPAddress IP = (my IP Address);
  IPEndPoint ipep = new IPEndPoint(IP, 1370);
  
  listenSocket = new Socket(AddressFamily.InterNetwork, 
                            SocketType.Stream, 
                            ProtocolType.Tcp);
  listenSocket.Bind((EndPoint) ipep);
  listenSocket.BeginReceive(clientData, 0, clientData.Length,
                            SocketFlags.None, new AsyncCallback(OnReceiveClient), null);
  </code></pre>
  
  <p>I have an error in last line, socket can not receive data in TCP protocol.
  this code is work in UDP protocol very fine.
  can you help me?! (thanks)</p>