C# 클래스 NewTOAPIA.Net.Udt.CUDTUnited

파일 보기 프로젝트 열기: Wiladams/NewTOAPIA

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

accept() 공개 메소드

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

bind() 공개 메소드

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

bind() 공개 메소드

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

checkBrokenSockets() 공개 메소드

public checkBrokenSockets ( ) : void
리턴 void

close() 공개 메소드

public close ( Int32 u ) : int
u System.Int32
리턴 int

getError() 공개 메소드

public getError ( ) : CUDTException
리턴 CUDTException

getStatus() 공개 메소드

public getStatus ( Int32 u ) : UDTSTATUS
u System.Int32
리턴 UDTSTATUS

getsockname() 공개 메소드

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

listen() 공개 메소드

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

locate() 공개 메소드

public locate ( Int32 u ) : UdtSocket
u System.Int32
리턴 UdtSocket

locate() 공개 메소드

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

lookup() 공개 메소드

public lookup ( Int32 u ) : CUDT
u System.Int32
리턴 CUDT

newConnection() 공개 메소드

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

removeSocket() 공개 메소드

public removeSocket ( Int32 u ) : void
u System.Int32
리턴 void

select() 공개 메소드

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

selectEx() 공개 메소드

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
리턴 int

updateMux() 공개 메소드

public updateMux ( CUDT u, UdtSocket ls ) : void
u CUDT
ls UdtSocket
리턴 void