Loading [MathJax]/extensions/tex2jax.js
ROOT
6.10/09
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
+
Namespaces
Namespace List
+
Namespace Members
+
All
<
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
<
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
u
w
x
+
Enumerations
a
e
f
g
m
p
t
w
y
+
Enumerator
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
w
+
All Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
y
+
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
w
y
+
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Properties
f
+
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Files
File List
+
File Members
+
All
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerations
c
e
f
i
l
m
p
r
u
x
+
Enumerator
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
v
w
x
y
z
+
Macros
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
net
net
inc
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 "
TServerSocket.h
"
29
30
class
TPSocket
;
31
32
33
class
TPServerSocket
:
public
TServerSocket
{
34
35
private
:
36
Int_t
fTcpWindowSize
;
// size of tcp window (for window scaling)
37
38
TPServerSocket
(
const
TPServerSocket
&);
// not implemented
39
void
operator=
(
const
TPServerSocket
&);
// idem
40
41
public
:
42
TPServerSocket
(
Int_t
port,
Bool_t
reuse =
kFALSE
,
43
Int_t
backlog =
kDefaultBacklog
,
44
Int_t
tcpwindowsize = -1);
45
TPServerSocket
(
const
char
*service,
Bool_t
reuse =
kFALSE
,
46
Int_t
backlog =
kDefaultBacklog
,
47
Int_t
tcpwindowsize = -1);
48
49
virtual
~TPServerSocket
() { }
50
51
virtual
TSocket
*
Accept
(
UChar_t
Opt =
kSrvNoAuth
);
52
53
ClassDef
(
TPServerSocket
,0)
// Parallel server socket
54
};
55
56
#endif
TPServerSocket::fTcpWindowSize
Int_t fTcpWindowSize
Definition:
TPServerSocket.h:36
TPServerSocket::TPServerSocket
TPServerSocket(const TPServerSocket &)
Int_t
int Int_t
Definition:
RtypesCore.h:41
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
TPSocket
Definition:
TPSocket.h:33
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:297
TServerSocket
Definition:
TServerSocket.h:42
kSrvNoAuth
const UChar_t kSrvNoAuth
Definition:
TServerSocket.h:40
TServerSocket.h
kFALSE
const Bool_t kFALSE
Definition:
RtypesCore.h:92
TSocket
Definition:
TSocket.h:60
TPServerSocket::~TPServerSocket
virtual ~TPServerSocket()
Definition:
TPServerSocket.h:49
TPServerSocket::operator=
void operator=(const TPServerSocket &)
TPServerSocket
Definition:
TPServerSocket.h:33
UChar_t
unsigned char UChar_t
Definition:
RtypesCore.h:34
TPServerSocket::Accept
virtual TSocket * Accept(UChar_t Opt=kSrvNoAuth)
Accept a connection on a parallel server socket.
Definition:
TPServerSocket.cxx:96
TServerSocket::kDefaultBacklog
Definition:
TServerSocket.h:56