2 writes to Client
System (2)
net\System\Net\Sockets\UDPClient.cs (2)
281
Client
= null;
1044
Client
= new Socket(m_Family, SocketType.Dgram, ProtocolType.Udp);
26 references to Client
System (26)
net\System\Net\Sockets\UDPClient.cs (26)
108
Client
.Bind(localEP);
133
Client
.Bind(localEP);
272
Socket chkClientSocket =
Client
;
477
Client
.Connect(endPoint);
491
if (
Client
!=null && !m_IsBroadcast && ipAddress.IsBroadcast) {
497
Client
.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Broadcast, 1);
526
return
Client
.Send(dgram, 0, bytes, SocketFlags.None);
531
return
Client
.SendTo(dgram, 0, bytes, SocketFlags.None, endPoint);
558
return
Client
.Send(dgram, 0, bytes, SocketFlags.None);
572
return
Client
.SendTo(dgram, 0, bytes, SocketFlags.None, ipEndPoint);
601
return
Client
.Send(dgram, 0, bytes, SocketFlags.None);
631
return
Client
.BeginSend(datagram, 0, bytes, SocketFlags.None, requestCallback, state);
636
return
Client
.BeginSendTo(datagram, 0, bytes, SocketFlags.None, endPoint, requestCallback, state);
682
return
Client
.EndSend(asyncResult);
685
return
Client
.EndSendTo(asyncResult);
716
int received =
Client
.ReceiveFrom(m_Buffer, MaxUDPSize, 0 , ref tempRemoteEP);
754
return
Client
.BeginReceiveFrom(m_Buffer, 0, MaxUDPSize, SocketFlags.None , ref tempRemoteEP, requestCallback, state);
772
int received =
Client
.EndReceiveFrom(asyncResult,ref tempRemoteEP);
816
Client
.SetSocketOption(
824
Client
.SetSocketOption(
847
Client
.SetSocketOption(
886
Client
.SetSocketOption(
919
Client
.SetSocketOption(
952
Client
.SetSocketOption(
960
Client
.SetSocketOption(
998
Client
.SetSocketOption(