Go to the documentation of this file.    1 #ifndef __JNET__JSOCKETBLOCKING__ 
    2 #define __JNET__JSOCKETBLOCKING__ 
   12 namespace JPP { 
using namespace JNET; }
 
   51     int read(
char* buffer, 
const int length)
 
   78     int write(
const char* buffer, 
const int length)
 
   80       const char* data = buffer;
 
 
virtual int read(char *buffer, const int length)
Read data from socket.
 
int write(const char *buffer, const int length)
Write data to socket.
 
int read(char *buffer, const int length)
Read data from socket.
 
Interprocess communication.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
bool in_avail(JTimeval timeout=JTimeval::min()) const
Check availability of input.
 
JSocketBlocking(const JSocket &socket)
Constructor.
 
virtual int write(const char *buffer, const int length)
Write data to socket.
 
JSocketBlocking()
Default constructor.
 
bool out_avail(JTimeval timeout=JTimeval::min()) const
Check availability of output.