Wraps a TCP socket that waits on a specific port and can create CommSocket instances via its onConnection event.
More...
|
std::tr1::function< void(Socket &)> | onConnection |
| This signal is fired by update() whenever someone connects to the port which is currently listened on. More...
|
|
Wraps a TCP socket that waits on a specific port and can create CommSocket instances via its onConnection event.
Definition at line 130 of file Sockets.hpp.
Gosu::ListenerSocket::ListenerSocket |
( |
SocketPort |
port | ) |
|
Gosu::ListenerSocket::~ListenerSocket |
( |
| ) |
|
void Gosu::ListenerSocket::update |
( |
| ) |
|
std::tr1::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 152 of file Sockets.hpp.
The documentation for this class was generated from the following file: