Ordinary connection oriented socket. More...
#include <TcpSocket.h>
  
 Public Member Functions | |
| TcpSocket (const String &address, int port) | |
| void | Connect () | 
| TcpSocket::Connect addr must be in net byte order.  | |
| spl::IStreamPtr | GetStream () | 
| Gets the IO stream -- do not delete.  | |
| bool | IsClosed () | 
| void | Close () | 
| void | Shutdown (int i=SD_BOTH) | 
| void | SetNonBlocking () | 
| void | SetBlocking () | 
| void | SetLingerOn () | 
| void | SetLingerOff () | 
| void | SetNoDelay () | 
| void | SetSendTimeout (int toMS) | 
| void | SetRecvTimeout (int toMS) | 
| int | GetSendTimeout () | 
| int | GetRecvTimeout () | 
| int | GetErrorCode () | 
| int | GetBytesAvail () | 
| String | GetRemoteIp () | 
| bool | operator== (const TcpSocket &s) const | 
| virtual void | CheckMem () const | 
| virtual void | ValidateMem () const | 
Protected Member Functions | |
| TcpSocket (SOCKET fd) | |
Protected Attributes | |
| String | m_address | 
| SocketPtr | m_sock | 
| spl::IStreamPtr | m_strm | 
Friends | |
| class | ServerSocket | 
| class | SocketSet | 
Ordinary connection oriented socket.
Definition at line 40 of file TcpSocket.h.