Panda3D
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SocketFdset Class Reference

#include <pandadoc.hpp>

Public Member Functions

 __init__ ()
 The constructor.
 
 __init__ (const SocketFdset)
 
 clear ()
 Marks the content as empty.
 
bool IsSetFor (const SocketIP incon)
 check to see if a socket object has been marked for reading
 
 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.
 
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.
 

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.