3 writes to Client
System (3)
net\System\Net\Sockets\TCPClient.cs (3)
133
Client
= acceptedSocket;
483
Client
= null;
608
Client
= new Socket(m_Family, SocketType.Stream, ProtocolType.Tcp);
18 references to Client
System (18)
net\System\Net\Sockets\TCPClient.cs (18)
48
Client
.Bind(localEP);
346
Client
.Connect(remoteEP);
356
Client
.Connect(ipAddresses, port);
366
IAsyncResult result =
Client
.BeginConnect(host, port, requestCallback, state);
375
IAsyncResult result =
Client
.BeginConnect(address, port, requestCallback, state);
385
IAsyncResult result =
Client
.BeginConnect(addresses, port, requestCallback, state);
393
Client
.EndConnect(asyncResult);
430
if (!
Client
.Connected) {
434
m_DataStream = new NetworkStream(
Client
, true);
476
Socket chkClientSocket =
Client
;
521
Client
.SetSocketOption(SocketOptionLevel.Socket,
540
Client
.SetSocketOption(SocketOptionLevel.Socket,
556
Client
.SetSocketOption(SocketOptionLevel.Socket,
572
Client
.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.SendTimeout, value);
583
return (LingerOption)
Client
.GetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Linger);
586
Client
.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Linger, value);
600
Client
.SetSocketOption(SocketOptionLevel.Tcp, SocketOptionName.NoDelay, value ? 1 : 0);
613
return (int)
Client
.GetSocketOption(optionLevel, optionName);