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

Public Member Functions

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

Member Function Documentation

◆ __init__() [1/2]

__init__ ( )

The constructor.

◆ __init__() [2/2]

__init__ ( const  SocketFdset)

◆ clear()

clear ( )

Marks the content as empty.

◆ IsSetFor()

bool IsSetFor ( const SocketIP  incon)

check to see if a socket object has been marked for reading

◆ setForSocket()

setForSocket ( const SocketIP  incon)

◆ WaitForError()

int WaitForError ( bool  zeroFds,
uint32_t  sleep_time 
)

This is the function that will wait till one of the sockets is in error state.

◆ WaitForRead() [1/2]

int WaitForRead ( bool  zeroFds,
const TimeSpan  timeout 
)

◆ WaitForRead() [2/2]

int WaitForRead ( bool  zeroFds,
uint32_t  sleep_time 
)

◆ WaitForWrite()

int WaitForWrite ( bool  zeroFds,
uint32_t  sleep_time 
)

This is the function that will wait till one of the sockets is ready for writing.