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]);
136 newPSocket =
new TPSocket(pSockets, size);
virtual Int_t Recv(TMessage *&mess)
Receive a TMessage object.
virtual void SetName(const char *name)
Set the name of the TNamed.
TPServerSocket(const TPServerSocket &)
R__EXTERN TVirtualMutex * gROOTMutex
void SetSecContext(TSecContext *ctx)
virtual TSocket * Accept(UChar_t Opt=0)
Accept a connection on a server socket.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
#define R__LOCKGUARD(mutex)
virtual Bool_t IsAuthenticated() const
TSecContext * GetSecContext() const
TInetAddress GetInetAddress() const
virtual TSocket * Accept(UChar_t Opt=kSrvNoAuth)
Accept a connection on a parallel server socket.