#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_in * | LPSOCKADDR_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 } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|