Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
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__ ( )

Function name : Socket_fdset::Socket_fdset The constructor.

clear ( )

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

bool IsSetFor ( const SocketIP  incon)

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

setForSocket ( const SocketIP  incon)

Function name : Socket_fdset::setForSocket.

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.

int WaitForRead ( bool  zeroFds,
PNUint32  sleep_time 
)

Function name : WaitForRead.

int WaitForRead ( bool  zeroFds,
const TimeSpan  timeout 
)

Function name : Socket_fdset::WaitForRead.

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.