JSocket.h File Reference

#include "Object.h"
#include "JString.h"
#include "JTime.h"
#include "JThread.h"
#include "TCPLocation.h"
#include "Debug.h"
#include "TimeSeries.h"
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/tcp.h>
#include <unistd.h>
#include <fcntl.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <ifaddrs.h>

Include dependency graph for JSocket.h:

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

Go to the source code of this file.

Namespaces

namespace  cmlabs

Classes

class  cmlabs::JSocket
 Generic Socket class. More...
class  cmlabs::SocketTester
class  cmlabs::ConnectionProfile

Defines

#define AFX_SOCKET_H__C0DFE1C7_F17D_4EA0_A890_F0C980247837__INCLUDED_
#define READTIMEOUT   10
#define SD_BOTH   2
#define BUFFERSIZE   10000
#define SENDBUFFERSIZE   80000
#define NIPQUAD(addr)
#define INVALID_SOCKET   -1
#define SOCKET_ERROR   -1
#define WSAEWOULDBLOCK   EAGAIN
#define WSAEMSGSIZE   11
#define WSAENOTCONN   10057

Typedefs

typedef int SOCKET


Define Documentation

#define AFX_SOCKET_H__C0DFE1C7_F17D_4EA0_A890_F0C980247837__INCLUDED_

Definition at line 28 of file JSocket.h.

#define BUFFERSIZE   10000

Definition at line 64 of file JSocket.h.

#define INVALID_SOCKET   -1

Definition at line 85 of file JSocket.h.

#define NIPQUAD ( addr   ) 

Value:

((unsigned char *)&addr)[0], \
                ((unsigned char *)&addr)[1], \
                ((unsigned char *)&addr)[2], \
                ((unsigned char *)&addr)[3]

Definition at line 79 of file JSocket.h.

#define READTIMEOUT   10

Definition at line 42 of file JSocket.h.

#define SD_BOTH   2

Definition at line 45 of file JSocket.h.

#define SENDBUFFERSIZE   80000

Definition at line 65 of file JSocket.h.

#define SOCKET_ERROR   -1

Definition at line 86 of file JSocket.h.

#define WSAEMSGSIZE   11

Definition at line 88 of file JSocket.h.

#define WSAENOTCONN   10057

Definition at line 90 of file JSocket.h.

#define WSAEWOULDBLOCK   EAGAIN

Definition at line 87 of file JSocket.h.


Typedef Documentation

typedef int SOCKET

Definition at line 84 of file JSocket.h.


Generated on Tue Jul 7 16:19:06 2009 for CoreLibrary by  doxygen 1.5.6