C# Class NewTOAPIA.Net.Udt.CChannel

Show file Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
CChannel ( ) : System
CChannel ( AddressFamily version ) : System
close ( ) : void
getPeerAddr ( IPAddress &addr ) : void
getRcvBufSize ( ) : int
getSndBufSize ( ) : int
getSockAddr ( IPEndPoint &addr ) : void
open ( IPEndPoint addr ) : void
open ( Socket udpsock ) : void
recvfrom ( IPAddress addr, CPacket packet ) : int
sendto ( IPEndPoint addr, CPacket packet ) : int
setRcvBufSize ( int size ) : void
setSndBufSize ( int size ) : void

Private Methods

Method Description
setUDPSockOpt ( ) : void

Method Details

CChannel() public method

public CChannel ( ) : System
return System

CChannel() public method

public CChannel ( AddressFamily version ) : System
version AddressFamily
return System

close() public method

public close ( ) : void
return void

getPeerAddr() public method

public getPeerAddr ( IPAddress &addr ) : void
addr System.Net.IPAddress
return void

getRcvBufSize() public method

public getRcvBufSize ( ) : int
return int

getSndBufSize() public method

public getSndBufSize ( ) : int
return int

getSockAddr() public method

public getSockAddr ( IPEndPoint &addr ) : void
addr System.Net.IPEndPoint
return void

open() public method

public open ( IPEndPoint addr ) : void
addr System.Net.IPEndPoint
return void

open() public method

public open ( Socket udpsock ) : void
udpsock Socket
return void

recvfrom() public method

public recvfrom ( IPAddress addr, CPacket packet ) : int
addr System.Net.IPAddress
packet CPacket
return int

sendto() public method

public sendto ( IPEndPoint addr, CPacket packet ) : int
addr System.Net.IPEndPoint
packet CPacket
return int

setRcvBufSize() public method

public setRcvBufSize ( int size ) : void
size int
return void

setSndBufSize() public method

public setSndBufSize ( int size ) : void
size int
return void