zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Zeni::TCP_Listener Class Reference

A Socket for accepting new TCP connections (in the form of TCP_Sockets) More...

#include <Net.h>

Public Member Functions

 TCP_Listener (const Uint16 &port)
 
 ~TCP_Listener ()
 
TCPsocket accept ()
 Returns 0 if no listener. More...
 

Detailed Description

A Socket for accepting new TCP connections (in the form of TCP_Sockets)

Not much more to it.

Author
bazald

Contact: bazal.nosp@m.d@ze.nosp@m.nipex.nosp@m..com

Definition at line 202 of file Net.h.

Constructor & Destructor Documentation

Zeni::TCP_Listener::TCP_Listener ( const Uint16 port)
Zeni::TCP_Listener::~TCP_Listener ( )

Member Function Documentation

TCPsocket Zeni::TCP_Listener::accept ( )

Returns 0 if no listener.

Definition at line 270 of file Net.cpp.

References SDLNet_TCP_Accept().


The documentation for this class was generated from the following files: