Метод | Описание | |
---|---|---|
AllowNatTraversal ( bool allowed ) : void | ||
BeginReceive ( AsyncCallback requestCallback, object state ) : IAsyncResult | ||
BeginSend ( byte datagram, int bytes, AsyncCallback requestCallback, object state ) : IAsyncResult | ||
BeginSend ( byte datagram, int bytes, IPEndPoint endPoint, AsyncCallback requestCallback, object state ) : IAsyncResult | ||
BeginSend ( byte datagram, int bytes, string hostname, int port, AsyncCallback requestCallback, object state ) : IAsyncResult | ||
Dispose ( ) : void | ||
DropMulticastGroup ( IPAddress multicastAddr ) : void | ||
DropMulticastGroup ( IPAddress multicastAddr, int ifindex ) : void | ||
EndReceive ( IAsyncResult asyncResult, IPEndPoint &remoteEP ) : byte[] | ||
EndSend ( IAsyncResult asyncResult ) : int | ||
JoinMulticastGroup ( IPAddress multicastAddr ) : void | ||
JoinMulticastGroup ( IPAddress multicastAddr, IPAddress localAddress ) : void | ||
JoinMulticastGroup ( IPAddress multicastAddr, int timeToLive ) : void | ||
JoinMulticastGroup ( int ifindex, IPAddress multicastAddr ) : void | ||
ReceiveAsync ( ) : Task |
||
SendAsync ( byte datagram, int bytes ) : Task |
||
SendAsync ( byte datagram, int bytes, IPEndPoint endPoint ) : Task |
||
SendAsync ( byte datagram, int bytes, string hostname, int port ) : Task |
||
UdpClient ( ) : System.Diagnostics | ||
UdpClient ( AddressFamily family ) : System.Diagnostics | ||
UdpClient ( IPEndPoint localEP ) : System.Diagnostics | ||
UdpClient ( int port ) : System.Diagnostics | ||
UdpClient ( int port, AddressFamily family ) : System.Diagnostics |
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Метод | Описание | |
---|---|---|
CheckForBroadcast ( IPAddress ipAddress ) : void | ||
CreateClientSocket ( ) : void | ||
FreeResources ( ) : void | ||
IsBroadcast ( IPAddress address ) : bool |
public AllowNatTraversal ( bool allowed ) : void | ||
allowed | bool | |
Результат | void |
public BeginReceive ( AsyncCallback requestCallback, object state ) : IAsyncResult | ||
requestCallback | AsyncCallback | |
state | object | |
Результат | IAsyncResult |
public BeginSend ( byte datagram, int bytes, AsyncCallback requestCallback, object state ) : IAsyncResult | ||
datagram | byte | |
bytes | int | |
requestCallback | AsyncCallback | |
state | object | |
Результат | IAsyncResult |
public BeginSend ( byte datagram, int bytes, IPEndPoint endPoint, AsyncCallback requestCallback, object state ) : IAsyncResult | ||
datagram | byte | |
bytes | int | |
endPoint | IPEndPoint | |
requestCallback | AsyncCallback | |
state | object | |
Результат | IAsyncResult |
public BeginSend ( byte datagram, int bytes, string hostname, int port, AsyncCallback requestCallback, object state ) : IAsyncResult | ||
datagram | byte | |
bytes | int | |
hostname | string | |
port | int | |
requestCallback | AsyncCallback | |
state | object | |
Результат | IAsyncResult |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public DropMulticastGroup ( IPAddress multicastAddr ) : void | ||
multicastAddr | IPAddress | |
Результат | void |
public DropMulticastGroup ( IPAddress multicastAddr, int ifindex ) : void | ||
multicastAddr | IPAddress | |
ifindex | int | |
Результат | void |
public EndReceive ( IAsyncResult asyncResult, IPEndPoint &remoteEP ) : byte[] | ||
asyncResult | IAsyncResult | |
remoteEP | IPEndPoint | |
Результат | byte[] |
public EndSend ( IAsyncResult asyncResult ) : int | ||
asyncResult | IAsyncResult | |
Результат | int |
public JoinMulticastGroup ( IPAddress multicastAddr ) : void | ||
multicastAddr | IPAddress | |
Результат | void |
public JoinMulticastGroup ( IPAddress multicastAddr, IPAddress localAddress ) : void | ||
multicastAddr | IPAddress | |
localAddress | IPAddress | |
Результат | void |
public JoinMulticastGroup ( IPAddress multicastAddr, int timeToLive ) : void | ||
multicastAddr | IPAddress | |
timeToLive | int | |
Результат | void |
public JoinMulticastGroup ( int ifindex, IPAddress multicastAddr ) : void | ||
ifindex | int | |
multicastAddr | IPAddress | |
Результат | void |
public SendAsync ( byte datagram, int bytes ) : Task |
||
datagram | byte | |
bytes | int | |
Результат | Task |
public SendAsync ( byte datagram, int bytes, IPEndPoint endPoint ) : Task |
||
datagram | byte | |
bytes | int | |
endPoint | IPEndPoint | |
Результат | Task |
public SendAsync ( byte datagram, int bytes, string hostname, int port ) : Task |
||
datagram | byte | |
bytes | int | |
hostname | string | |
port | int | |
Результат | Task |
public UdpClient ( AddressFamily family ) : System.Diagnostics | ||
family | AddressFamily | |
Результат | System.Diagnostics |
public UdpClient ( IPEndPoint localEP ) : System.Diagnostics | ||
localEP | IPEndPoint | |
Результат | System.Diagnostics |
public UdpClient ( int port ) : System.Diagnostics | ||
port | int | |
Результат | System.Diagnostics |
public UdpClient ( int port, AddressFamily family ) : System.Diagnostics | ||
port | int | |
family | AddressFamily | |
Результат | System.Diagnostics |