Property | Type | Description | |
---|---|---|---|
localMessagesOnly | bool | ||
port | int | ||
udp |
Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
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.
|
public static GetLocalSubnetMask ( |
||
ipaddress | ||
return |
public static GetNetworkAddress ( |
||
address | ||
subnetMask | ||
return |
public static IsInSameSubnet ( |
||
localAddress | ||
otherAddress | ||
return | bool |
public Start ( AsyncCallback callback ) : void | ||
callback | AsyncCallback | |
return | void |
public UdpListener ( int port, bool localMessagesOnly ) : System | ||
port | int | The port to listen for messages on |
localMessagesOnly | bool | |
return | System |