Свойство | Тип | Описание | |
---|---|---|---|
localMessagesOnly | bool | ||
port | int | ||
udp |
Метод | Описание | |
---|---|---|
Dispose ( ) : void | ||
GetLocalSubnetMask ( |
||
GetNetworkAddress ( |
||
IsInSameSubnet ( |
||
Start ( ) : void | ||
Start ( AsyncCallback callback ) : void |
Starts listening for messages on the specified port
|
|
Stop ( ) : void |
Stops listening for messages and frees the port
|
|
UdpListener ( int port, bool localMessagesOnly ) : System |
Creates a new UdpListener
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Метод | Описание | |
---|---|---|
ProcessPacket ( IAsyncResult ar ) : void |
When a message is received by the listener, the raw data is read from the packet and the PacketReceived event is fired.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public static GetLocalSubnetMask ( |
||
ipaddress | ||
Результат |
public static GetNetworkAddress ( |
||
address | ||
subnetMask | ||
Результат |
public static IsInSameSubnet ( |
||
localAddress | ||
otherAddress | ||
Результат | bool |
public Start ( AsyncCallback callback ) : void | ||
callback | AsyncCallback | |
Результат | void |
public UdpListener ( int port, bool localMessagesOnly ) : System | ||
port | int | The port to listen for messages on |
localMessagesOnly | bool | |
Результат | System |