OFFIS DCMTK  Version 3.6.0
Classes | Macros | Typedefs | Enumerations | Functions
socket.h File Reference
Include dependency graph for socket.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  log4cplus::helpers::AbstractSocket
 
class  log4cplus::helpers::Socket
 This class implements client sockets (also called just "sockets"). More...
 
class  log4cplus::helpers::ServerSocket
 This class implements server sockets. More...
 

Macros

#define INVALID_SOCKET   -1
 

Typedefs

typedef int log4cplus::helpers::SOCKET_TYPE
 

Enumerations

enum  SocketState {
  ok, not_opened, bad_address, connection_failed,
  broken_pipe, invalid_access_mode, message_truncated
}
 

Functions

LOG4CPLUS_EXPORT SOCKET_TYPE log4cplus::helpers::openSocket (unsigned short port, SocketState &state)
 
LOG4CPLUS_EXPORT SOCKET_TYPE log4cplus::helpers::connectSocket (const log4cplus::tstring &hostn, unsigned short port, SocketState &state)
 
LOG4CPLUS_EXPORT SOCKET_TYPE log4cplus::helpers::acceptSocket (SOCKET_TYPE sock, SocketState &state)
 
LOG4CPLUS_EXPORT int log4cplus::helpers::closeSocket (SOCKET_TYPE sock)
 
LOG4CPLUS_EXPORT long log4cplus::helpers::read (SOCKET_TYPE sock, SocketBuffer &buffer)
 
LOG4CPLUS_EXPORT long log4cplus::helpers::write (SOCKET_TYPE sock, const SocketBuffer &buffer)
 
LOG4CPLUS_EXPORT tstring log4cplus::helpers::getHostname (bool fqdn)
 


Generated on Thu Dec 20 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.2