C# Class NewTOAPIA.Net.Udt.CUDTUnited

Show file Open project: Wiladams/NewTOAPIA

Public Methods

Method Description
accept ( Int32 listen, IPAddress addr, int &addrlen ) : Int32
bind ( Int32 u, IPAddress name, int namelen ) : int
bind ( Int32 u, Int32 udpsock ) : int
checkBrokenSockets ( ) : void
close ( Int32 u ) : int
getError ( ) : CUDTException
getStatus ( Int32 u ) : UDTSTATUS
getsockname ( Int32 u, IPEndPoint &name ) : int
listen ( Int32 u, int backlog ) : int
locate ( Int32 u ) : UdtSocket
locate ( Int32 u, IPEndPoint peer, Int32 id, Int32 isn ) : UdtSocket
lookup ( Int32 u ) : CUDT
newConnection ( Int32 listen, IPEndPoint peer, CHandShake hs ) : int
removeSocket ( Int32 u ) : void
select ( Int32 &readfds, Int32 &writefds, Int32 &exceptfds, timeval timeout ) : int
selectEx ( Int32 &fds, Int32 &readfds, Int32 &writefds, Int32 &exceptfds, System.Int64 msTimeOut ) : int
updateMux ( CUDT u, UdtSocket ls ) : void

Private Methods

Method Description
CUDTUnited ( ) : System
cleanup ( ) : int
connect ( Int32 u, IPEndPoint name, int namelen ) : int
garbageCollect ( Object p ) : Int32
getpeername ( Int32 u, IPAddress &addr, int &namelen ) : int
newSocket ( AddressFamily af, UDTSockType type ) : Int32
setError ( CUDTException e ) : void
updateMux ( CUDT u, IPEndPoint addr, Socket udpsock ) : void

Method Details

accept() public method

public accept ( Int32 listen, IPAddress addr, int &addrlen ) : Int32
listen System.Int32
addr System.Net.IPAddress
addrlen int
return System.Int32

bind() public method

public bind ( Int32 u, IPAddress name, int namelen ) : int
u System.Int32
name System.Net.IPAddress
namelen int
return int

bind() public method

public bind ( Int32 u, Int32 udpsock ) : int
u System.Int32
udpsock System.Int32
return int

checkBrokenSockets() public method

public checkBrokenSockets ( ) : void
return void

close() public method

public close ( Int32 u ) : int
u System.Int32
return int

getError() public method

public getError ( ) : CUDTException
return CUDTException

getStatus() public method

public getStatus ( Int32 u ) : UDTSTATUS
u System.Int32
return UDTSTATUS

getsockname() public method

public getsockname ( Int32 u, IPEndPoint &name ) : int
u System.Int32
name System.Net.IPEndPoint
return int

listen() public method

public listen ( Int32 u, int backlog ) : int
u System.Int32
backlog int
return int

locate() public method

public locate ( Int32 u ) : UdtSocket
u System.Int32
return UdtSocket

locate() public method

public locate ( Int32 u, IPEndPoint peer, Int32 id, Int32 isn ) : UdtSocket
u System.Int32
peer System.Net.IPEndPoint
id System.Int32
isn System.Int32
return UdtSocket

lookup() public method

public lookup ( Int32 u ) : CUDT
u System.Int32
return CUDT

newConnection() public method

public newConnection ( Int32 listen, IPEndPoint peer, CHandShake hs ) : int
listen System.Int32
peer System.Net.IPEndPoint
hs CHandShake
return int

removeSocket() public method

public removeSocket ( Int32 u ) : void
u System.Int32
return void

select() public method

public select ( Int32 &readfds, Int32 &writefds, Int32 &exceptfds, timeval timeout ) : int
readfds System.Int32
writefds System.Int32
exceptfds System.Int32
timeout timeval
return int

selectEx() public method

public selectEx ( Int32 &fds, Int32 &readfds, Int32 &writefds, Int32 &exceptfds, System.Int64 msTimeOut ) : int
fds System.Int32
readfds System.Int32
writefds System.Int32
exceptfds System.Int32
msTimeOut System.Int64
return int

updateMux() public method

public updateMux ( CUDT u, UdtSocket ls ) : void
u CUDT
ls UdtSocket
return void