tcpip_definitions.h File Reference

#include "sockets_dll.h"

Include dependency graph for tcpip_definitions.h:

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

Go to the source code of this file.

Defines

#define INVALID_SOCKET   -1
#define SOCKET_ERROR   -1
#define SOCK_EACCES   EACCES
#define SOCK_EADDRINUSE   EADDRINUSE
#define SOCK_EADDRNOTAVAIL   EADDRNOTAVAIL
#define SOCK_EAFNOSUPPORT   EAFNOSUPPORT
#define SOCK_EALREADY   EALREADY
#define SOCK_EBADF   EBADF
#define SOCK_ECONNABORTED   ECONNABORTED
#define SOCK_ECONNREFUSED   ECONNREFUSED
#define SOCK_ECONNRESET   ECONNRESET
#define SOCK_EDESTADDRREQ   EDESTADDRREQ
#define SOCK_EDQUOT   EDQUOT
#define SOCK_EFAULT   EFAULT
#define SOCK_EHOSTDOWN   EHOSTDOWN
#define SOCK_EHOSTUNREACH   EHOSTUNREACH
#define SOCK_EINPROGRESS   EINPROGRESS
#define SOCK_EINTR   EINTR
#define SOCK_EINVAL   EINVAL
#define SOCK_EISCONN   EISCONN
#define SOCK_ELOOP   ELOOP
#define SOCK_EMFILE   EMFILE
#define SOCK_EMSGSIZE   EMSGSIZE
#define SOCK_ENAMETOOLONG   ENAMETOOLONG
#define SOCK_ENETDOWN   ENETDOWN
#define SOCK_ENETUNREACH   ENETUNREACH
#define SOCK_ENETRESET   ENETRESET
#define SOCK_ENOBUFS   ENOBUFS
#define SOCK_ENOPROTOOPT   ENOPROTOOPT
#define SOCK_ENOTCONN   ENOTCONN
#define SOCK_ENOTEMPTY   ENOTEMPTY
#define SOCK_ENOTSOCK   ENOTSOCK
#define SOCK_EOPNOTSUPP   EOPNOTSUPP
#define SOCK_EPFNOSUPPORT   EPFNOSUPPORT
#define SOCK_EPROCLIM   EPROCLIM
#define SOCK_EPROTOTYPE   EPROTOTYPE
#define SOCK_EPROTONOSUPPORT   EPROTONOSUPPORT
#define SOCK_EREMOTE   EREMOTE
#define SOCK_ESHUTDOWN   ESHUTDOWN
#define SOCK_ESOCKTNOSUPPORT   ESOCKTNOSUPPORT
#define SOCK_ESTALE   ESTALE
#define SOCK_ETIMEDOUT   ETIMEDOUT
#define SOCK_ETOOMANYREFS   ETOOMANYREFS
#define SOCK_EWOULDBLOCK   EWOULDBLOCK
#define SOCK_EUSERS   EUSERS

Typedefs

typedef void sock_hop

Enumerations

enum  socket_interests {
  SI_READABLE = 0x1, SI_WRITABLE = 0x2, SI_CONNECTED = 0x4, SI_DISCONNECTED = 0x8,
  SI_ERRONEOUS = 0x10, SI_BASELINE = 0x20, SI_ALL_SOCK_INT = 0xFF
}


Define Documentation

#define INVALID_SOCKET   -1

Definition at line 38 of file tcpip_definitions.h.

Referenced by spocket::accept(), spocket::connect(), and socket_minder::handle_pending_connecters().

#define SOCK_EACCES   EACCES

Definition at line 45 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_EADDRINUSE   EADDRINUSE

Definition at line 46 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_EADDRNOTAVAIL   EADDRNOTAVAIL

Definition at line 47 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_EAFNOSUPPORT   EAFNOSUPPORT

Definition at line 48 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_EALREADY   EALREADY

Definition at line 49 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_EBADF   EBADF

Definition at line 50 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_ECONNABORTED   ECONNABORTED

Definition at line 51 of file tcpip_definitions.h.

Referenced by socket_minder::push_receives(), socket_minder::push_sends(), and tcpip_stack::tcpip_error_name().

#define SOCK_ECONNREFUSED   ECONNREFUSED

Definition at line 52 of file tcpip_definitions.h.

Referenced by spocket::connect(), and tcpip_stack::tcpip_error_name().

#define SOCK_ECONNRESET   ECONNRESET

Definition at line 53 of file tcpip_definitions.h.

Referenced by socket_minder::push_receives(), socket_minder::push_sends(), spocket::receive_from(), and tcpip_stack::tcpip_error_name().

#define SOCK_EDESTADDRREQ   EDESTADDRREQ

Definition at line 54 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_EDQUOT   EDQUOT

Definition at line 55 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_EFAULT   EFAULT

Definition at line 56 of file tcpip_definitions.h.

Referenced by raw_socket::select(), and tcpip_stack::tcpip_error_name().

#define SOCK_EHOSTDOWN   EHOSTDOWN

Definition at line 57 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_EHOSTUNREACH   EHOSTUNREACH

Definition at line 58 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_EINPROGRESS   EINPROGRESS

Definition at line 59 of file tcpip_definitions.h.

Referenced by spocket::connect(), raw_socket::select(), and tcpip_stack::tcpip_error_name().

#define SOCK_EINTR   EINTR

Definition at line 60 of file tcpip_definitions.h.

Referenced by raw_socket::select(), and tcpip_stack::tcpip_error_name().

#define SOCK_EINVAL   EINVAL

Definition at line 61 of file tcpip_definitions.h.

Referenced by raw_socket::select(), and tcpip_stack::tcpip_error_name().

#define SOCK_EISCONN   EISCONN

Definition at line 62 of file tcpip_definitions.h.

Referenced by spocket::connect(), and tcpip_stack::tcpip_error_name().

#define SOCK_ELOOP   ELOOP

Definition at line 63 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_EMFILE   EMFILE

Definition at line 64 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_EMSGSIZE   EMSGSIZE

Definition at line 65 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_ENAMETOOLONG   ENAMETOOLONG

Definition at line 66 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_ENETDOWN   ENETDOWN

Definition at line 67 of file tcpip_definitions.h.

Referenced by raw_socket::select(), and tcpip_stack::tcpip_error_name().

#define SOCK_ENETRESET   ENETRESET

Definition at line 69 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_ENETUNREACH   ENETUNREACH

Definition at line 68 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_ENOBUFS   ENOBUFS

Definition at line 70 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_ENOPROTOOPT   ENOPROTOOPT

Definition at line 71 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_ENOTCONN   ENOTCONN

Definition at line 72 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_ENOTEMPTY   ENOTEMPTY

Definition at line 73 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_ENOTSOCK   ENOTSOCK

Definition at line 74 of file tcpip_definitions.h.

Referenced by socket_minder::push_receives(), socket_minder::push_sends(), raw_socket::select(), and tcpip_stack::tcpip_error_name().

#define SOCK_EOPNOTSUPP   EOPNOTSUPP

Definition at line 75 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_EPFNOSUPPORT   EPFNOSUPPORT

Definition at line 76 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_EPROCLIM   EPROCLIM

Definition at line 77 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_EPROTONOSUPPORT   EPROTONOSUPPORT

Definition at line 79 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_EPROTOTYPE   EPROTOTYPE

Definition at line 78 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_EREMOTE   EREMOTE

Definition at line 80 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_ESHUTDOWN   ESHUTDOWN

Definition at line 81 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_ESOCKTNOSUPPORT   ESOCKTNOSUPPORT

Definition at line 82 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_ESTALE   ESTALE

Definition at line 83 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_ETIMEDOUT   ETIMEDOUT

Definition at line 84 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_ETOOMANYREFS   ETOOMANYREFS

Definition at line 85 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_EUSERS   EUSERS

Definition at line 87 of file tcpip_definitions.h.

Referenced by tcpip_stack::tcpip_error_name().

#define SOCK_EWOULDBLOCK   EWOULDBLOCK

Definition at line 86 of file tcpip_definitions.h.

Referenced by spocket::accept(), spocket::connect(), spocket_tester::do_a_receive(), broadcast_spocket_tester::do_a_receive(), socket_minder::push_receives(), socket_minder::push_sends(), spocket::receive(), spocket::receive_from(), spocket::send(), spocket::send_to(), and tcpip_stack::tcpip_error_name().

#define SOCKET_ERROR   -1

Definition at line 39 of file tcpip_definitions.h.

Referenced by spocket::connect(), socket_minder::push_sends(), raw_socket::select(), and spocket::send().


Typedef Documentation

typedef void sock_hop

Definition at line 40 of file tcpip_definitions.h.


Enumeration Type Documentation

enum socket_interests

Enumerator:
SI_READABLE 
SI_WRITABLE 
SI_CONNECTED 
SI_DISCONNECTED 
SI_ERRONEOUS 
SI_BASELINE 
SI_ALL_SOCK_INT 

Definition at line 25 of file tcpip_definitions.h.


Generated on Fri Nov 21 04:30:40 2008 for HOOPLE Libraries by  doxygen 1.5.1