libH/Socket.hpp File Reference

Socket class header file. More...

#include "SocketInterface.hpp"
#include "SocketEventWatcher.hpp"
#include "DynamicBuffer.hpp"
#include <cstdlib>
#include <boost/shared_ptr.hpp>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>

Include dependency graph for Socket.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  H

Classes

class  H::Socket
 Main Socket class. More...
struct  H::Socket::SocketReadThreadProc

Defines

#define SOCKET_ERROR   -1
 Constant used to indicate a socket is in an error state.

Enumerations

enum  H::SocketDomain { H::SOCKET_INTERNET = PF_INET, H::SOCKET_UNIX = PF_UNIX, H::SOCKET_INTERNET2 = PF_INET6 }
 Domain of the socket. More...
enum  H::SocketType {
  H::SOCKET_STREAM = SOCK_STREAM, H::SOCKET_DGRAM = SOCK_DGRAM, H::SOCKET_RAW = SOCK_RAW, H::SOCKET_SEQPACKET = SOCK_SEQPACKET,
  H::SOCKET_RDM = SOCK_RDM
}
 Type of the socket. More...
enum  H::SocketProtocol { H::SOCKET_PROTO_TCP = IPPROTO_TCP, H::SOCKET_PROTO_UDP = IPPROTO_UDP }
 Protocol of the socket. More...


Detailed Description

Socket class header file.

Definition in file Socket.hpp.


Generated on Wed Nov 7 10:06:18 2007 for gizmod by  doxygen 1.5.3