Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members

FXEX::FXSocketServer Class Reference

Provides TCP/UDP socket server functionality. More...

#include <FXSocketServer.h>

Inheritance diagram for FXEX::FXSocketServer::

FXEX::FXSocket FXEX::FXIOHandle FXEX::FXBaseObject FXObject List of all members.

Detailed Description

Provides TCP/UDP socket server functionality.

Defaults to UNIX domain socket if socket type is set to automatic.

If you want the server to listen to a specific localhost address, such as may be the case in a multi-home host, set the hostname() of the socket to the hostname / IP-address of that interface, eg:

socket=new FXSocketServer(...); socket->hostname("localhost"); // thus only binds to 127.0.0.1

Definition at line 42 of file FXSocketServer.h.