ns::ServerSocket Class Reference

Server socket class used for waitng for client connection. More...

#include <ns_socket.h>

Inheritance diagram for ns::ServerSocket:

ns::Socket List of all members.

Public Member Functions

 ServerSocket ()
 Dummy constructor.
 ServerSocket (unsigned int port)
 Creates server socket listening at specified port.
AcceptedSocket wait ()
 Waits for client connection.

Detailed Description

Server socket class used for waitng for client connection.


Constructor & Destructor Documentation

ns::ServerSocket::ServerSocket ( unsigned int  port  ) 

Creates server socket listening at specified port.

Parameters:
port Port number to listen at.


Member Function Documentation

AcceptedSocket ns::ServerSocket::wait (  ) 

Waits for client connection.

Returns:
Socket to accepted client.


The documentation for this class was generated from the following files:
Generated on Mon Aug 6 09:36:19 2007 for NetStreamlibrary by  doxygen 1.5.1