51 Int_t tcpwindowsize) :
78 Int_t tcpwindowsize) :
107 if (setupSocket == 0)
return 0;
111 if (setupSocket->
Recv(port,
size) < 0) {
112 Error(
"Accept",
"error receiving port number and number of sockets");
120 pSockets[0] = setupSocket;
123 newPSocket =
new TPSocket(pSockets, 1);
128 for (
int i = 0; i <
size; i++) {
132 gROOT->GetListOfSockets()->Remove(pSockets[i]);
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
int Int_t
Signed integer 4 bytes (int).
unsigned char UChar_t
Unsigned Character 1 byte (unsigned char).
bool Bool_t
Boolean (0=false, 1=true) (bool).
externTVirtualMutex * gROOTMutex
#define R__LOCKGUARD(mutex)
virtual void SetName(const char *name)
Set the name of the TNamed.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
TPSocket * Accept(UChar_t opt=0) override
Accept a connection on a parallel server socket.
TPServerSocket(const TPServerSocket &)=delete
This class implements parallel server sockets.
virtual TSocket * Accept(UChar_t opt=0)
Accept a connection on a server socket.
virtual Int_t Recv(TMessage *&mess)
Receive a TMessage object.
TInetAddress GetInetAddress() const