LRAUV  revA
Socket.h File Reference

Contains the Socket class declaration. More...

#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <unistd.h>
#include <arpa/inet.h>
#include "SocketException.h"
Include dependency graph for Socket.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Socket
 A wrapper around sys/socket.h for tcp communications between Socket instances – use daughter classes SocketClient or SocketServer to do any real work. More...
 

Variables

const int MAXHOSTNAME = 200
 
const int MAXCONNECTIONS = 5
 
const int MAXRECV = 500
 
const int SIMPORT = 54327
 

Detailed Description

Contains the Socket class declaration.

Copyright (c) 2007,2008,2009 MBARI MBARI Proprietary Information. All Rights Reserved

Variable Documentation

const int MAXCONNECTIONS = 5

Referenced by Socket::listen().

const int MAXHOSTNAME = 200
const int MAXRECV = 500
const int SIMPORT = 54327

Referenced by ExternalSim::initialize().