Stellarium  0.90.0
Public Member Functions | Protected Member Functions | Protected Attributes
Socket Class Referenceabstract

Public Member Functions

void hangup ()
 
virtual void prepareSelectFds (fd_set &read_fds, fd_set &write_fds, int &fd_max)=0
 
virtual void handleSelectFds (const fd_set &read_fds, const fd_set &write_fds)=0
 
virtual bool isClosed () const
 
virtual bool isTcpConnection () const
 
virtual void sendPosition (unsigned int ra_int, int dec_int, int status)
 

Protected Member Functions

 Socket (Server &server, SOCKET fd)
 
int readNonblocking (void *buf, int count)
 
int writeNonblocking (const void *buf, int count)
 

Protected Attributes

Serverserver
 
SOCKET fd