Panda3D
Public Member Functions | List of all members
SocketFdset Class Reference

Public Member Functions

 __init__ ()
 Function name : Socket_fdset::Socket_fdset The constructor. More...
 
 clear ()
 Function name : Socket_fdset::zeroOut Marks the content as empty. More...
 
bool IsSetFor (const SocketIP incon)
 Function name : Socket_fdset::IsSetFor check to see if a socket object has been marked for reading. More...
 
 setForSocket (const SocketIP incon)
 Function name : Socket_fdset::setForSocket. More...
 
int WaitForError (bool zeroFds, PNUint32 sleep_time)
 Function name : Socket_fdset::WaitForError This is the function that will wait till one of the sockets is in error state. More...
 
int WaitForRead (bool zeroFds, PNUint32 sleep_time)
 Function name : WaitForRead. More...
 
int WaitForRead (bool zeroFds, const TimeSpan timeout)
 Function name : Socket_fdset::WaitForRead. More...
 
int WaitForWrite (bool zeroFds, PNUint32 sleep_time)
 Function name : Socket_fdset::WaitForWrite This is the function that will wait till one of the sockets is ready for writing. More...
 

Member Function Documentation

◆ __init__()

__init__ ( )

Function name : Socket_fdset::Socket_fdset The constructor.

◆ clear()

clear ( )

Function name : Socket_fdset::zeroOut Marks the content as empty.

◆ IsSetFor()

bool IsSetFor ( const SocketIP  incon)

Function name : Socket_fdset::IsSetFor check to see if a socket object has been marked for reading.

◆ setForSocket()

setForSocket ( const SocketIP  incon)

Function name : Socket_fdset::setForSocket.

◆ WaitForError()

int WaitForError ( bool  zeroFds,
PNUint32  sleep_time 
)

Function name : Socket_fdset::WaitForError This is the function that will wait till one of the sockets is in error state.

◆ WaitForRead() [1/2]

int WaitForRead ( bool  zeroFds,
PNUint32  sleep_time 
)

Function name : WaitForRead.

◆ WaitForRead() [2/2]

int WaitForRead ( bool  zeroFds,
const TimeSpan  timeout 
)

Function name : Socket_fdset::WaitForRead.

◆ WaitForWrite()

int WaitForWrite ( bool  zeroFds,
PNUint32  sleep_time 
)

Function name : Socket_fdset::WaitForWrite This is the function that will wait till one of the sockets is ready for writing.