¡@

Home 

c# Programming Glossary: dropconnection

Sending and receiving data over a network using TcpClient

http://stackoverflow.com/questions/3609280/sending-and-receiving-data-over-a-network-using-tcpclient

public bool Dropped get return _dropped private void DropConnection lock _droppedRoot if Dropped return _dropped true _tcpClient.Close.. 0 bytedata.Length SocketFlags.None EndSend null catch DropConnection private void EndSend IAsyncResult ar try TcpClient.Client.EndSend.. buffer.Length SocketFlags.None DataReceived buffer catch DropConnection private void DataReceived IAsyncResult ar if Dropped return..