Belle II Software
release-05-02-19
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
h
i
l
m
n
p
r
s
t
v
w
Enumerations
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
b2_socket.h
1
/* b2_socket.h */
2
3
4
#ifndef B2_SOCKET_H
5
#define B2_SOCKET_H
6
7
/* returns socket descriptor */
8
int
b2_create_accept_socket(
const
unsigned
short
port);
9
10
/* returns socket descriptor */
11
int
b2_create_connect_socket(
const
char
* hostname,
const
unsigned
short
port);
12
13
/* timeout>0 ... timed I/O (secs), time==0 ... non-blocking I/O, time<0 ... blocking I/O */
14
int
b2_timed_blocking_io(
const
int
sd,
const
int
timeout
/* sec */
);
15
16
int
b2_build_sockaddr_in(
const
char
* hostname,
const
unsigned
short
port,
struct
sockaddr_in* in);
17
18
int
b2_send(
const
int
sd,
const
void
* buf,
const
size_t
size);
19
int
b2_recv(
const
int
sd,
void
* buf,
const
size_t
size);
20
21
22
#endif
/* B2_SOCKET_H */
23
daq
roisend
include
b2_socket.h
Generated on Tue Jan 4 2022 02:54:10 for Belle II Software by
1.8.17