|
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
socket.h File Reference
Go to the source code of this file.
Compounds |
class | BroadcastAddress |
class | InetAddress |
class | InetHostAddress |
class | InetMaskAddress |
class | init_WSA |
class | Socket |
class | SocketPort |
class | SocketService |
class | TCPSession |
class | TCPSocket |
class | tcpstream |
class | TCPStream |
class | UDPBroadcast |
class | UDPDuplex |
class | UDPReceive |
class | UDPSocket |
class | UDPTransmit |
Typedefs |
typedef int | SOCKET |
typedef unsigned short | tpport_t |
| Transport Protocol Ports.
|
Enumerations |
enum | sockcomplete_t {
SOCKET_COMPLETION_IMMEDIATE,
SOCKET_COMPLETION_DELAYED
} |
| used to enumerate type of socket I/O blocking - or non blocking. More...
|
enum | sockstate_t {
SOCKET_INITIAL,
SOCKET_AVAILABLE,
SOCKET_BOUND,
SOCKET_CONNECTED,
SOCKET_CONNECTING,
SOCKET_STREAM
} |
enum | sockerror_t {
SOCKET_SUCCESS = 0,
SOCKET_CREATE_FAILED,
SOCKET_COPY_FAILED,
SOCKET_INPUT_ERROR,
SOCKET_INPUT_INTERRUPT,
SOCKET_RESOURCE_FAILURE,
SOCKET_OUTPUT_ERROR,
SOCKET_OUTPUT_INTERRUPT,
SOCKET_NOT_CONNECTED,
SOCKET_CONNECT_REFUSED,
SOCKET_CONNECT_REJECTED,
SOCKET_CONNECT_TIMEOUT,
SOCKET_CONNECT_FAILED,
SOCKET_CONNECT_INVALID,
SOCKET_CONNECT_BUSY,
SOCKET_CONNECT_NOROUTE,
SOCKET_BINDING_FAILED,
SOCKET_BROADCAST_DENIED,
SOCKET_ROUTING_DENIED,
SOCKET_KEEPALIVE_DENIED,
SOCKET_SERVICE_DENIED,
SOCKET_SERVICE_UNAVAILABLE,
SOCKET_MULTICAST_DISABLED,
SOCKET_EXTENDED_ERROR
} |
enum | socktos_t {
SOCKET_IPTOS_LOWDELAY,
SOCKET_IPTOS_THROUGHPUT,
SOCKET_IPTOS_RELIABILITY,
SOCKET_IPTOS_MINCOST,
SOCKET_IPTOS_INVALID
} |
enum | sockpend_t {
SOCKET_PENDING_INPUT,
SOCKET_PENDING_OUTPUT,
SOCKET_PENDING_ERROR
} |
Functions |
__EXPORT ::ostream& | operator<< (::ostream &os, const InetAddress &ia) |
struct in_addr | getaddress (const InetAddress &ia) |
Variables |
class __EXPORT | InetAddress |
class __EXPORT | InetHostAddress |
class __EXPORT | InetMaskAddress |
class __EXPORT | BroadcastAddress |
class __EXPORT | Socket |
class __EXPORT | UDPSocket |
class __EXPORT | UDPBroadcast |
class __EXPORT | UDPTransmit |
class __EXPORT | UDPReceive |
class __EXPORT | UDPDuplex |
class __EXPORT | TCPSocket |
class __EXPORT | TCPStream |
class __EXPORT | tcpstream |
class __EXPORT | TCPSession |
Typedef Documentation
typedef unsigned short tpport_t
|
|
|
Transport Protocol Ports.
|
Enumeration Type Documentation
|
used to enumerate type of socket I/O blocking - or non blocking.
-
Enumeration values:
-
SOCKET_COMPLETION_IMMEDIATE
|
|
SOCKET_COMPLETION_DELAYED
|
|
|
|
-
Enumeration values:
-
SOCKET_SUCCESS
|
|
SOCKET_CREATE_FAILED
|
|
SOCKET_COPY_FAILED
|
|
SOCKET_INPUT_ERROR
|
|
SOCKET_INPUT_INTERRUPT
|
|
SOCKET_RESOURCE_FAILURE
|
|
SOCKET_OUTPUT_ERROR
|
|
SOCKET_OUTPUT_INTERRUPT
|
|
SOCKET_NOT_CONNECTED
|
|
SOCKET_CONNECT_REFUSED
|
|
SOCKET_CONNECT_REJECTED
|
|
SOCKET_CONNECT_TIMEOUT
|
|
SOCKET_CONNECT_FAILED
|
|
SOCKET_CONNECT_INVALID
|
|
SOCKET_CONNECT_BUSY
|
|
SOCKET_CONNECT_NOROUTE
|
|
SOCKET_BINDING_FAILED
|
|
SOCKET_BROADCAST_DENIED
|
|
SOCKET_ROUTING_DENIED
|
|
SOCKET_KEEPALIVE_DENIED
|
|
SOCKET_SERVICE_DENIED
|
|
SOCKET_SERVICE_UNAVAILABLE
|
|
SOCKET_MULTICAST_DISABLED
|
|
SOCKET_EXTENDED_ERROR
|
|
|
|
-
Enumeration values:
-
SOCKET_PENDING_INPUT
|
|
SOCKET_PENDING_OUTPUT
|
|
SOCKET_PENDING_ERROR
|
|
|
|
-
Enumeration values:
-
SOCKET_INITIAL
|
|
SOCKET_AVAILABLE
|
|
SOCKET_BOUND
|
|
SOCKET_CONNECTED
|
|
SOCKET_CONNECTING
|
|
SOCKET_STREAM
|
|
|
|
-
Enumeration values:
-
SOCKET_IPTOS_LOWDELAY
|
|
SOCKET_IPTOS_THROUGHPUT
|
|
SOCKET_IPTOS_RELIABILITY
|
|
SOCKET_IPTOS_MINCOST
|
|
SOCKET_IPTOS_INVALID
|
|
|
Function Documentation
struct in_addr getaddress (
|
const InetAddress & ia ) [inline]
|
|
Variable Documentation
class __EXPORT BroadcastAddress
|
|
class __EXPORT InetAddress
|
|
class __EXPORT InetHostAddress
|
|
class __EXPORT InetMaskAddress
|
|
class __EXPORT TCPSession
|
|
class __EXPORT UDPBroadcast
|
|
class __EXPORT UDPReceive
|
|
class __EXPORT UDPTransmit
|
|
Generated at Fri Mar 23 10:47:54 2001 for CommonC++ by
1.2.1 written by Dimitri van Heesch,
© 1997-2000
|