프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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.
|
public static GetLocalSubnetMask ( |
||
ipaddress | ||
리턴 |
public static GetNetworkAddress ( |
||
address | ||
subnetMask | ||
리턴 |
public static IsInSameSubnet ( |
||
localAddress | ||
otherAddress | ||
리턴 | bool |
public UdpListener ( int port, bool localMessagesOnly ) : System | ||
port | int | The port to listen for messages on |
localMessagesOnly | bool | |
리턴 | System |