55 Int_t tcpwindowsize = -1);
57 Int_t tcpwindowsize = -1);
59 Int_t tcpwindowsize = -1);
Int_t Recv(char *mess, Int_t max)
Receive a character string message of maximum max length.
virtual Int_t Send(const TMessage &mess)
Send a TMessage object.
virtual Int_t Recv(TMessage *&mess)
Receive a TMessage object.
Int_t Recv(Int_t &status, Int_t &kind)
Receives a status and a message type.
void Close(Option_t *opt="")
Close a parallel socket.
This class represents an Internet Protocol (IP) address.
Option_t * GetOption() const
Int_t Send(const TMessage &mess)
Send a TMessage object.
virtual ~TPSocket()
Cleanup the parallel socket.
Int_t Send(const char *mess, Int_t kind=kMESS_STRING)
Send a character string buffer.
Int_t Recv(char *mess, Int_t max, Int_t &kind)
Receive a character string message of maximum max length.
#define ClassDef(name, id)
TPSocket(TSocket *pSockets[], Int_t size)
Create a parallel socket. This ctor is called by TPServerSocket.
Int_t SendRaw(const void *buffer, Int_t length, ESendRecvOptions opt)
Send a raw buffer of specified length.
Int_t RecvRaw(void *buffer, Int_t length, ESendRecvOptions opt)
Send a raw buffer of specified length.
Int_t GetDescriptor() const
Return socket descriptor.
void operator=(const TPSocket &)
Int_t GetErrorCode() const
Returns error code.
Int_t Send(Int_t kind)
Send a single message opcode.
Int_t SetOption(ESockOptions opt, Int_t val)
Set socket options.
Int_t Send(Int_t status, Int_t kind)
Send a status and a single message opcode.
virtual Option_t * GetOption() const
TInetAddress GetLocalInetAddress()
Return internet address of local host to which the socket is bound.
Int_t Recv(TMessage *&mess)
Receive a TMessage object.
void Init(Int_t tcpwindowsize, TSocket *sock=0)
Create a parallel socket to the specified host.