C# 클래스 Microsoft.Protocols.TestTools.StackSdk.WsDiscovery.Transport.UdpSender

Send message over UDP.
파일 보기 프로젝트 열기: Microsoft/WindowsProtocolTestSuites 1 사용 예제들

공개 메소드들

메소드 설명
SendBytes ( byte data, string address, int port ) : void

Send message to destination

Start ( ) : void

Start the thread of send message

Stop ( ) : void

Stop the thread of send message

UdpSender ( UdpClient sender ) : System.Net.Sockets

Initializes a new instance of the UdpSender class.

비공개 메소드들

메소드 설명
Send ( object obj ) : void

Send message to destination

메소드 상세

SendBytes() 공개 메소드

Send message to destination
public SendBytes ( byte data, string address, int port ) : void
data byte Message data
address string Destination address
port int Destination port
리턴 void

Start() 공개 메소드

Start the thread of send message
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Stop the thread of send message
public Stop ( ) : void
리턴 void

UdpSender() 공개 메소드

Initializes a new instance of the UdpSender class.
public UdpSender ( UdpClient sender ) : System.Net.Sockets
sender System.Net.Sockets.UdpClient The UDP sender
리턴 System.Net.Sockets