34 references to Client
System.Net.Mail (1)
System\Net\Mail\SmtpConnection.cs (1)
146
_tcpClient.
Client
.Blocking = false;
System.Net.Sockets (33)
System\Net\Sockets\TCPClient.cs (33)
92
public int Available =>
Client
?.Available ?? 0;
109
public bool Connected =>
Client
?.Connected ?? false;
113
get { return
Client
?.ExclusiveAddressUse ?? false; }
136
Client
.Connect(hostname, port);
137
_family =
Client
.AddressFamily;
168
Client
.Connect(remoteEP);
169
_family =
Client
.AddressFamily;
179
Client
.Connect(ipAddresses, port);
180
_family =
Client
.AddressFamily;
185
CompleteConnectAsync(
Client
.ConnectAsync(address, port));
188
CompleteConnectAsync(
Client
.ConnectAsync(host, port));
191
CompleteConnectAsync(
Client
.ConnectAsync(addresses, port));
199
CompleteConnectAsync(
Client
.ConnectAsync(remoteEP));
208
CompleteConnectAsync(
Client
.ConnectAsync(address, port, cancellationToken));
211
CompleteConnectAsync(
Client
.ConnectAsync(host, port, cancellationToken));
214
CompleteConnectAsync(
Client
.ConnectAsync(addresses, port, cancellationToken));
223
CompleteConnectAsync(
Client
.ConnectAsync(remoteEP, cancellationToken));
232
Client
.BeginConnect(address, port, requestCallback, state);
235
Client
.BeginConnect(host, port, requestCallback, state);
238
Client
.BeginConnect(addresses, port, requestCallback, state);
259
return _dataStream ??= new NetworkStream(
Client
, true);
308
get { return (int)
Client
.GetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReceiveBuffer)!; }
309
set {
Client
.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReceiveBuffer, value); }
315
get { return (int)
Client
.GetSocketOption(SocketOptionLevel.Socket, SocketOptionName.SendBuffer)!; }
316
set {
Client
.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.SendBuffer, value); }
325
return (int)
Client
.GetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReceiveTimeout)!;
330
Client
.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReceiveTimeout, value);
340
return (int)
Client
.GetSocketOption(SocketOptionLevel.Socket, SocketOptionName.SendTimeout)!;
345
Client
.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.SendTimeout, value);
355
return
Client
.LingerState;
360
Client
.LingerState = value!;
367
get { return
Client
.NoDelay; }
368
set {
Client
.NoDelay = value; }