C# Class Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpeudp.RdpeudpServerSocket

Inheritance: RdpeudpSocket
Exibir arquivo Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Dispose

ExpectConnect ( System.TimeSpan timeout ) : bool

Expect a RDPEUDP Connection

ExpectSynPacket ( System.TimeSpan timeout ) : RdpeudpPacket

Expect a Syn Packet

RdpeudpServerSocket ( TransportMode mode, IPEndPoint remoteEp, bool autohandle, RdpeudpSocketSender sender, Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpeudp.RdpeudpServer rdpeudpServer ) : System

Constructor.

SendSynAndAckPacket ( uint initSequenceNumber = null, uUdpVer_Values version = null ) : bool

Send a SYN and ACK diagram

Method Details

Dispose() public method

Dispose
public Dispose ( ) : void
return void

ExpectConnect() public method

Expect a RDPEUDP Connection
public ExpectConnect ( System.TimeSpan timeout ) : bool
timeout System.TimeSpan
return bool

ExpectSynPacket() public method

Expect a Syn Packet
public ExpectSynPacket ( System.TimeSpan timeout ) : RdpeudpPacket
timeout System.TimeSpan
return RdpeudpPacket

RdpeudpServerSocket() public method

Constructor.
public RdpeudpServerSocket ( TransportMode mode, IPEndPoint remoteEp, bool autohandle, RdpeudpSocketSender sender, Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpeudp.RdpeudpServer rdpeudpServer ) : System
mode TransportMode Reliable or Lossy.
remoteEp System.Net.IPEndPoint Remote endpoint.
autohandle bool
sender RdpeudpSocketSender Sender Used to send packet
rdpeudpServer Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpeudp.RdpeudpServer RDPEUDP Server
return System

SendSynAndAckPacket() public method

Send a SYN and ACK diagram
public SendSynAndAckPacket ( uint initSequenceNumber = null, uUdpVer_Values version = null ) : bool
initSequenceNumber uint Specify an initial sequence number
version uUdpVer_Values
return bool