zenilib
0.5.3.0
|
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... | |
A Socket for accepting new TCP connections (in the form of TCP_Sockets)
Not much more to it.
Contact: bazal d@ze nipex .com
Definition at line 232 of file Net.cpp.
References Zeni::get_Net(), Zeni::Singleton< TYPE >::lend_pre_uninit(), IPaddress::port, SDLNet_TCP_Open(), and SDLNet_Write16.
Zeni::TCP_Listener::~TCP_Listener | ( | ) |
Definition at line 255 of file Net.cpp.
References Zeni::get_Net(), Zeni::Singleton< TYPE >::remove_pre_uninit(), and SDLNet_TCP_Close().
TCPsocket Zeni::TCP_Listener::accept | ( | ) |