ROOT
Version v6.32
master
v6.34
v6.32
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
v6.04
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
►
core
►
documentation
►
geom
►
graf2d
►
graf3d
►
gui
►
hist
►
html
►
io
►
main
►
math
►
montecarlo
▼
net
►
auth
►
davix
doc
►
http
►
httpsniff
►
monalisa
▼
net
▼
inc
►
NetErrors.h
►
RRemoteProtocol.h
►
TApplicationRemote.h
►
TApplicationServer.h
►
TFileStager.h
►
TFTP.h
►
TGrid.h
►
TGridCollection.h
►
TGridJDL.h
►
TGridJob.h
►
TGridJobStatus.h
►
TGridJobStatusList.h
►
TGridResult.h
►
TMessage.h
►
TMonitor.h
►
TNetFile.h
►
TNetFileStager.h
►
TParallelMergingFile.h
►
TPServerSocket.h
►
TPSocket.h
►
TS3HTTPRequest.h
TS3WebFile.h
►
TSecContext.h
►
TServerSocket.h
►
TSocket.h
►
TSQLColumnInfo.h
►
TSQLMonitoring.h
►
TSQLResult.h
►
TSQLRow.h
►
TSQLServer.h
►
TSQLStatement.h
►
TSQLTableInfo.h
►
TSSLSocket.h
►
TUDPSocket.h
►
TWebFile.h
►
src
►
netx
►
netxng
►
proof
►
roofit
►
sql
►
tmva
►
tree
►
tutorials
►
v6-32-00-patches
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
TPServerSocket.h
Go to the documentation of this file.
1
// @(#)root/net:$Id$
2
// Author: Fons Rademakers 19/1/2001
3
4
/*************************************************************************
5
* Copyright (C) 1995-2001, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_TPServerSocket
13
#define ROOT_TPServerSocket
14
15
16
//////////////////////////////////////////////////////////////////////////
17
// //
18
// TPServerSocket //
19
// //
20
// This class implements parallel server sockets. A parallel server //
21
// socket waits for requests to come in over the network. It performs //
22
// some operation based on that request and then possibly returns a //
23
// full duplex parallel socket to the requester. The actual work is //
24
// done via the TSystem class (either TUnixSystem or TWinNTSystem). //
25
// //
26
//////////////////////////////////////////////////////////////////////////
27
28
#include "
TPSocket.h
"
29
#include "
TServerSocket.h
"
30
31
class
TPServerSocket
:
public
TServerSocket
{
32
33
private
:
34
Int_t
fTcpWindowSize
;
// size of tcp window (for window scaling)
35
36
TPServerSocket
(
const
TPServerSocket
&) =
delete
;
37
void
operator=
(
const
TPServerSocket
&) =
delete
;
38
39
public
:
40
TPServerSocket
(
Int_t
port,
Bool_t
reuse
=
kFALSE
,
41
Int_t
backlog
=
kDefaultBacklog
,
42
Int_t
tcpwindowsize
= -1);
43
TPServerSocket
(
const
char
*
service
,
Bool_t
reuse
=
kFALSE
,
44
Int_t
backlog
=
kDefaultBacklog
,
45
Int_t
tcpwindowsize
= -1);
46
47
virtual
~TPServerSocket
() {}
48
49
TPSocket
*
Accept
(
UChar_t
Opt =
kSrvNoAuth
)
override
;
50
51
ClassDefOverride
(
TPServerSocket
,0)
// Parallel server socket
52
};
53
54
#endif
UChar_t
unsigned char UChar_t
Definition
RtypesCore.h:38
kFALSE
constexpr Bool_t kFALSE
Definition
RtypesCore.h:101
ClassDefOverride
#define ClassDefOverride(name, id)
Definition
Rtypes.h:341
TPSocket.h
TServerSocket.h
kSrvNoAuth
const UChar_t kSrvNoAuth
Definition
TServerSocket.h:40
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
TPServerSocket
Definition
TPServerSocket.h:31
TPServerSocket::Accept
TPSocket * Accept(UChar_t Opt=kSrvNoAuth) override
Accept a connection on a parallel server socket.
Definition
TPServerSocket.cxx:95
TPServerSocket::~TPServerSocket
virtual ~TPServerSocket()
Definition
TPServerSocket.h:47
TPServerSocket::operator=
void operator=(const TPServerSocket &)=delete
TPServerSocket::TPServerSocket
TPServerSocket(const TPServerSocket &)=delete
TPServerSocket::fTcpWindowSize
Int_t fTcpWindowSize
Definition
TPServerSocket.h:34
TPSocket
Definition
TPSocket.h:33
TServerSocket
Definition
TServerSocket.h:42
TServerSocket::kDefaultBacklog
@ kDefaultBacklog
Definition
TServerSocket.h:56
bool
int
net
net
inc
TPServerSocket.h
ROOT v6-32 - Reference Guide Generated on Fri Mar 7 2025 14:51:54 (GVA Time) using Doxygen 1.10.0