#include <servercore.h>
Inheritance diagram for AGS::ServerCore::
Public Types | |
enum | SocketTypes { LocalSocket, NetworkSocket } |
enum | SocketModes { TCPSocket, UDPSocket } |
Public Methods | |
ServerCore () | |
void | createLocalSocket (int mode, const char *socketfile) |
void | createNetworkSocket (int mode, int port) |
Protected Methods | |
virtual void | handleConnection (int mode, int fd) |
|
Defined socket modes. |
|
Possible socket types, to be used in createLocalSocket or createNetworkSocket. |
|
Construct a server core |
|
Create a new thread listening on a local socket. |
|
Create a new thread listening on a port. |
|
Accepted incoming connection with this file descriptor. |