net.cxx File Reference

#include "RConfig.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <errno.h>
#include "rpdp.h"
#include "rpderr.h"

Go to the source code of this file.

Namespaces

namespace  ROOT

Functions

double ROOT::NetGetBytesRecv ()
double ROOT::NetGetBytesSent ()
void ROOT::NetGetRemoteHost (std::string &openhost)
int ROOT::NetGetSockFd ()
void ROOT::NetResetByteCount ()
void ROOT::NetSetSigPipeHook (SigPipe_t hook)
static int ROOT::Sendn (int sock, const void *buffer, int length)
static int ROOT::Recvn (int sock, void *buffer, int length)
int ROOT::NetSendRaw (const void *buf, int len)
int ROOT::NetRecvRaw (void *buf, int len)
int ROOT::NetRecvRaw (int sock, void *buf, int len)
int ROOT::NetSend (const void *buf, int len, EMessageTypes kind)
int ROOT::NetSend (int code, EMessageTypes kind)
int ROOT::NetSend (const char *msg, EMessageTypes kind)
int ROOT::NetSendAck ()
int ROOT::NetSendError (ERootdErrors err)
int ROOT::NetRecvAllocate (void *&buf, int &len, EMessageTypes &kind)
int ROOT::NetRecv (char *msg, int len, EMessageTypes &kind)
int ROOT::NetRecv (char *msg, int max)
int ROOT::NetOpen (int inetdflag, EService service)
void ROOT::NetClose ()
int ROOT::NetInit (EService service, int port1, int port2, int tcpwindowsize)
void ROOT::NetSetOptions (EService service, int sock, int tcpwindowsize)

Variables

int gDebug
std::string ROOT::gServName [3]
ErrorHandler_t ROOT::gErrSys
ErrorHandler_t ROOT::gErrFatal
static double ROOT::gBytesSent = 0
static double ROOT::gBytesRecv = 0
static std::string ROOT::gOpenhost = "????"
static int ROOT::gTcpSrvSock
static struct sockaddr_in ROOT::gTcpSrvAddr
static struct sockaddr_in ROOT::gTcpCliAddr
static int ROOT::gSockFd = -1
static SigPipe_t ROOT::gSigPipeHook = 0
int ROOT::gParallel


Variable Documentation

int gDebug

Definition at line 169 of file Rtypes.h.


Generated on Tue Jul 5 16:07:59 2011 for ROOT_528-00b_version by  doxygen 1.5.1