This is basic class acting as TCP-IP Server
Inheritance:
Public Methods
-
ServerSocket( int port )
- Initialize the server
-
ServerSocket()
- Initialize the server
-
const ServerSocket& operator << ( const std::string& ) const
- Sends data to TCP-IP client
-
const ServerSocket& operator >> ( std::string& ) const
- Receives the data from TCP-IP client
-
void accept( ServerSocket& )
- Accepts the TCP-IP client
Inherited from Socket:
Public Methods
-
bool create()
-
bool bind( const int port )
-
bool listen() const
-
bool connect( const std::string host, const int port )
-
bool send( const std::string ) const
-
int recv( std::string& ) const
Documentation
This is basic class acting as TCP-IP Server
ServerSocket( int port )
-
Initialize the server
- Parameters:
- port - as int
ServerSocket()
-
Initialize the server
const ServerSocket& operator << ( const std::string& ) const
-
Sends data to TCP-IP client
const ServerSocket& operator >> ( std::string& ) const
-
Receives the data from TCP-IP client
void 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++.