class ServerSocket

This is basic class acting as TCP-IP Server

Inheritance:


Public Methods

[more] ServerSocket( int port )
Initialize the server
[more] ServerSocket()
Initialize the server
[more]const ServerSocket& operator << ( const std::string& ) const
Sends data to TCP-IP client
[more]const ServerSocket& operator >> ( std::string& ) const
Receives the data from TCP-IP client
[more]void accept( ServerSocket& )
Accepts the TCP-IP client


Inherited from Socket:

Public Methods

obool create()
obool bind( const int port )
obool listen() const
obool connect( const std::string host, const int port )
obool send( const std::string ) const
oint recv( std::string& ) const


Documentation

This is basic class acting as TCP-IP Server
o ServerSocket( int port )
Initialize the server
Parameters:
port - as int

o ServerSocket()
Initialize the server

oconst ServerSocket& operator << ( const std::string& ) const
Sends data to TCP-IP client

oconst ServerSocket& operator >> ( std::string& ) const
Receives the data from TCP-IP client

ovoid accept( ServerSocket& )
Accepts the TCP-IP client


This class has no child classes.
Author:
Parikshit Thakur & Team, Trace R&D Center
Version:
Revision: 1.0

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.