/usr/include/root/TPServerSocket.h is in libroot-net-dev 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | // @(#)root/net:$Id$
// Author: Fons Rademakers 19/1/2001
/*************************************************************************
* Copyright (C) 1995-2001, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TPServerSocket
#define ROOT_TPServerSocket
//////////////////////////////////////////////////////////////////////////
// //
// TPServerSocket //
// //
// This class implements parallel server sockets. A parallel server //
// socket waits for requests to come in over the network. It performs //
// some operation based on that request and then possibly returns a //
// full duplex parallel socket to the requester. The actual work is //
// done via the TSystem class (either TUnixSystem or TWinNTSystem). //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TServerSocket
#include "TServerSocket.h"
#endif
class TPSocket;
class TPServerSocket : public TServerSocket {
private:
Int_t fTcpWindowSize; // size of tcp window (for window scaling)
TPServerSocket(const TPServerSocket &); // not implemented
void operator=(const TPServerSocket &); // idem
public:
TPServerSocket(Int_t port, Bool_t reuse = kFALSE,
Int_t backlog = kDefaultBacklog,
Int_t tcpwindowsize = -1);
TPServerSocket(const char *service, Bool_t reuse = kFALSE,
Int_t backlog = kDefaultBacklog,
Int_t tcpwindowsize = -1);
virtual ~TPServerSocket() { }
virtual TSocket *Accept(UChar_t Opt = kSrvNoAuth);
ClassDef(TPServerSocket,0) // Parallel server socket
};
#endif
|