5 writes to _clientSocket
System.Net.Sockets (5)
System\Net\Sockets\UDPClient.cs (5)
125_clientSocket = value; 241_clientSocket = null!; 663_clientSocket = new Socket(_family, SocketType.Dgram, ProtocolType.Udp); 735_clientSocket = ipv4Socket; 741_clientSocket = ipv6Socket;
41 references to _clientSocket
System.Net.Sockets (41)
System\Net\Sockets\UDPClient.cs (41)
78_clientSocket.Bind(localEP); 93_clientSocket.Bind(localEP); 113return _clientSocket.Available; 121return _clientSocket; 133return _clientSocket.Ttl; 137_clientSocket.Ttl = value; 145return _clientSocket.DontFragment; 149_clientSocket.DontFragment = value; 157return _clientSocket.MulticastLoopback; 161_clientSocket.MulticastLoopback = value; 169return _clientSocket.EnableBroadcast; 173_clientSocket.EnableBroadcast = value; 181return _clientSocket.ExclusiveAddressUse; 185_clientSocket.ExclusiveAddressUse = value; 192_clientSocket.SetIPProtectionLevel(allowed ? IPProtectionLevel.Unrestricted : IPProtectionLevel.EdgeRestricted); 207return _family == AddressFamily.InterNetworkV6 && _clientSocket.DualMode; 233Socket chkClientSocket = _clientSocket; 257if (_clientSocket != null && !_isBroadcast && IsBroadcast(ipAddress)) 262_clientSocket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Broadcast, 1); 293return _clientSocket.BeginSend(datagram, 0, bytes, SocketFlags.None, requestCallback, state); 298return _clientSocket.BeginSendTo(datagram, 0, bytes, SocketFlags.None, endPoint, requestCallback, state); 309_clientSocket.EndSend(asyncResult) : 310_clientSocket.EndSendTo(asyncResult); 372return _clientSocket.BeginReceiveFrom(_buffer, 0, MaxUDPSize, SocketFlags.None, ref tempRemoteEP, requestCallback, state); 385int received = _clientSocket.EndReceiveFrom(asyncResult, ref tempRemoteEP); 407_clientSocket.SetSocketOption( 414_clientSocket.SetSocketOption( 430_clientSocket.SetSocketOption( 450_clientSocket.SetSocketOption( 471_clientSocket.SetSocketOption( 491_clientSocket.SetSocketOption( 498_clientSocket.SetSocketOption( 518_clientSocket.SetSocketOption( 573return _clientSocket.SendAsync(new ArraySegment<byte>(datagram, 0, bytes), SocketFlags.None); 578return _clientSocket.SendToAsync(new ArraySegment<byte>(datagram, 0, bytes), SocketFlags.None, endPoint); 604return _clientSocket.SendAsync(datagram, SocketFlags.None, cancellationToken); 612return _clientSocket.SendToAsync(datagram, SocketFlags.None, endPoint, cancellationToken); 619return WaitAndWrap(_clientSocket.ReceiveFromAsync( 645return WaitAndWrap(_clientSocket.ReceiveFromAsync( 710if (_clientSocket == null) 727if (_clientSocket == null)