Data Structures | Defines | Enumerations | Variables

sockets.h File Reference

#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
#include "anope.h"
Include dependency graph for sockets.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

union  sockaddrs
class  cidr
struct  cidr::hash
class  SocketException
class  SocketIO
class  Socket
class  BufferedSocket
class  BinarySocket
struct  BinarySocket::DataBlock
class  ListenSocket
class  ConnectionSocket
class  ClientSocket
class  Pipe

Defines

#define NET_BUFSIZE   65535

Enumerations

enum  SocketFlag {
  SF_DEAD = 1, SF_READABLE, SF_WRITABLE, SF_CONNECTING,
  SF_CONNECTED, SF_ACCEPTING, SF_ACCEPTED, SF_SIZE
}

Variables

CoreExport uint32_t TotalRead
CoreExport uint32_t TotalWritten
CoreExport SocketIO NormalSocketIO

Define Documentation

#define NET_BUFSIZE   65535

Definition at line 24 of file sockets.h.


Enumeration Type Documentation

enum SocketFlag
Enumerator:
SF_DEAD 
SF_READABLE 
SF_WRITABLE 
SF_CONNECTING 
SF_CONNECTED 
SF_ACCEPTING 
SF_ACCEPTED 
SF_SIZE 

Definition at line 119 of file sockets.h.


Variable Documentation

CoreExport uint32_t TotalRead

Definition at line 26 of file sockets.cpp.

Referenced by SocketIO::Recv(), SSLSocketIO::Recv(), and Message::Stats::Run().

CoreExport uint32_t TotalWritten

Definition at line 27 of file sockets.cpp.

Referenced by Message::Stats::Run(), SocketIO::Send(), and SSLSocketIO::Send().