oflog/include/dcmtk/oflog/helpers/socket.h File Reference

Go to the source code of this file.

Namespaces

namespace  log4cplus
namespace  log4cplus::helpers

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...

Defines

#define INVALID_SOCKET   -1

Typedefs

typedef int log4cplus::helpers::SOCKET_TYPE

Enumerations

enum  log4cplus::helpers::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)


Detailed Description

Definition in file socket.h.


Generated on 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1