C# Class NewTOAPIA.Net.Udt.CUDTUnited

Afficher le fichier Open project: Wiladams/NewTOAPIA

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

bind() public méthode

public bind ( Int32 u, IPAddress name, int namelen ) : int
u System.Int32
name System.Net.IPAddress
namelen int
Résultat int

bind() public méthode

public bind ( Int32 u, Int32 udpsock ) : int
u System.Int32
udpsock System.Int32
Résultat int

checkBrokenSockets() public méthode

public checkBrokenSockets ( ) : void
Résultat void

close() public méthode

public close ( Int32 u ) : int
u System.Int32
Résultat int

getError() public méthode

public getError ( ) : CUDTException
Résultat CUDTException

getStatus() public méthode

public getStatus ( Int32 u ) : UDTSTATUS
u System.Int32
Résultat UDTSTATUS

getsockname() public méthode

public getsockname ( Int32 u, IPEndPoint &name ) : int
u System.Int32
name System.Net.IPEndPoint
Résultat int

listen() public méthode

public listen ( Int32 u, int backlog ) : int
u System.Int32
backlog int
Résultat int

locate() public méthode

public locate ( Int32 u ) : UdtSocket
u System.Int32
Résultat UdtSocket

locate() public méthode

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

lookup() public méthode

public lookup ( Int32 u ) : CUDT
u System.Int32
Résultat CUDT

newConnection() public méthode

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

removeSocket() public méthode

public removeSocket ( Int32 u ) : void
u System.Int32
Résultat void

select() public méthode

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

selectEx() public méthode

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
Résultat int

updateMux() public méthode

public updateMux ( CUDT u, UdtSocket ls ) : void
u CUDT
ls UdtSocket
Résultat void