Public Member Functions | |
ListenerSocket (SocketPort port) | |
~ListenerSocket () | |
SocketAddress | address () const |
SocketPort | port () const |
void | update () |
Public Attributes | |
boost::function< void(Socket &)> | onConnection |
This signal is fired by update() whenever someone connects to the port which is currently listened on. |
Definition at line 119 of file Sockets.hpp.
Gosu::ListenerSocket::ListenerSocket | ( | SocketPort | port | ) |
Gosu::ListenerSocket::~ListenerSocket | ( | ) |
SocketAddress Gosu::ListenerSocket::address | ( | ) | const |
SocketPort Gosu::ListenerSocket::port | ( | ) | const |
void Gosu::ListenerSocket::update | ( | ) |
boost::function<void (Socket&)> Gosu::ListenerSocket::onConnection |
This signal is fired by update() whenever someone connects to the port which is currently listened on.
Definition at line 135 of file Sockets.hpp.