Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

socketinstance.h File Reference

#include <sys/types.h>
#include <ctype.h>
#include "msdefs.h"
#include <stdio.h>
#include <netinet/in.h>
#include <netdb.h>
#include <sys/select.h>
#include <arpa/inet.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <unistd.h>
#include <stdlib.h>
#include "generalexception.h"
#include "errno.h"

Go to the source code of this file.

Namespaces

namespace  ssobjects

Defines

#define __SockAddr__
#define __SocketInstance__
#define __SocketInstanceException__
#define __TelnetSocket__
#define __HttpBlockingSocket__
#define TELNET_PORT   23
#define WEB_PORT   80
#define WSAEWOULDBLOCK   EWOULDBLOCK
#define SOCKET_ERROR   (-1)
#define INVALID_SOCKET   (-1)
#define closesocket(s)   close(s)
#define WSAGetLastError()   errno
#define throwSocketInstanceException(m)   (throw SocketInstanceException(m,__FILE__,__LINE__))

Typedefs

typedef int SOCKET
typedef sockaddr SOCKADDR
typedef sockaddr_in SOCKADDR_IN
typedef sockaddr_inLPSOCKADDR_IN
typedef timeval TIMEVAL
typedef unsigned long ULONG
typedef unsigned short USHORT
typedef const struct sockaddr * LPCSOCKADDR
typedef sockaddr * LPSOCKADDR

Enumerations

enum  { DEFAULT_SOCKET_TIMEOUT = 600, NO_TIMEOUT = 0 }


Define Documentation

#define INVALID_SOCKET   (-1)
 

#define SOCKET_ERROR   (-1)
 

#define TELNET_PORT   23
 

#define WEB_PORT   80
 

#define WSAEWOULDBLOCK   EWOULDBLOCK
 

 
#define WSAGetLastError      errno
 

#define __HttpBlockingSocket__
 

#define __SockAddr__
 

#define __SocketInstanceException__
 

#define __SocketInstance__
 

#define __TelnetSocket__
 

#define closesocket      close(s)
 

#define throwSocketInstanceException      (throw SocketInstanceException(m,__FILE__,__LINE__))
 


Typedef Documentation

typedef const struct sockaddr* LPCSOCKADDR
 

typedef struct sockaddr* LPSOCKADDR
 

typedef struct sockaddr_in* LPSOCKADDR_IN
 

typedef struct sockaddr SOCKADDR
 

typedef struct sockaddr_in SOCKADDR_IN
 

typedef int SOCKET
 

typedef struct timeval TIMEVAL
 

typedef unsigned long ULONG
 

typedef unsigned short USHORT
 


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
DEFAULT_SOCKET_TIMEOUT 
NO_TIMEOUT 


Generated on Thu Nov 8 12:39:26 2001 for SimpleServerObjects by doxygen1.2.11 written by Dimitri van Heesch, © 1997-2001