Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

tcpsocket.cc File Reference

#include <string.h>
#include <strings.h>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <iostream.h>
#include <stdio.h>
#include "tcpsocket.h"
#include "errcode.h"
#include "misc.h"

Go to the source code of this file.

Defines

#define RECV_FLAG   MSG_WAITALL

Functions

int BlockSocket (int sockid)
int recv_all (int s, unsigned char *buf, int len, unsigned int flags)
int send_all (int s, unsigned char *buf, int len, unsigned int flags)


Define Documentation

#define RECV_FLAG   MSG_WAITALL
 

Definition at line 24 of file tcpsocket.cc.

Referenced by TCPSocket::RecvBytes().


Function Documentation

int BlockSocket int    sockid
 

Definition at line 235 of file tcpsocket.cc.

Referenced by TCPSocket::Accept().

int recv_all int    s,
unsigned char *    buf,
int    len,
unsigned int    flags
 

Definition at line 278 of file tcpsocket.cc.

References myTimer().

Referenced by TCPSocket::RecvBytes().

int send_all int    s,
unsigned char *    buf,
int    len,
unsigned int    flags
 

Definition at line 301 of file tcpsocket.cc.

References myTimer().

Referenced by TCPSocket::SendBytes().


Generated on Sun Jun 16 17:36:50 2002 for POSSE: Portable Object-oriented Scientific Steering Environment by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001