C++ TargetRTS
Toggle main menu visibility
Main Page
Related Pages
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
Variables
_
b
c
d
e
f
i
k
m
n
o
p
r
s
t
v
z
Enumerations
Enumerator
Files
File List
•
All
Classes
Functions
Variables
Enumerations
Enumerator
Pages
Loading...
Searching...
No Matches
extension
rsa_rt
C++
TargetRTS
src
include
RTinet.h
1
/*
2
* Licensed Materials - Property of HCL and/or IBM
3
* Copyright HCL Technologies Ltd. 2016, 2021. All Rights Reserved.
4
* Copyright IBM Corporation 1999, 2016. All Rights Reserved.
5
*
6
* U.S. Government Users Restricted Rights - Use, duplication or
7
* disclosure restricted by GSA ADP Schedule.
8
*/
9
10
#ifndef __RTinet_h__
11
#define __RTinet_h__ included
12
13
#ifndef __RTConfig_h__
14
#include <RTConfig.h>
15
#endif
16
17
#if HAVE_INET
18
19
extern
"C"
20
{
21
22
typedef
struct
{
char
b[ 4 ]; }
RTinet_address
;
23
typedef
unsigned
short
RTinet_port;
24
25
#define INET_NO_SOCKET ( -1 )
26
27
extern
const
RTinet_address
RTinet_loopback;
28
29
extern
int
RTinet_TCP_create(
void
);
30
extern
int
RTinet_UDP_create(
void
);
31
extern
int
RTinet_accept(
int
,
RTinet_address
*, RTinet_port * );
32
extern
int
RTinet_async(
int
);
33
extern
int
RTinet_bind(
int
,
const
RTinet_address
*, RTinet_port );
34
extern
void
RTinet_close(
int
);
35
extern
int
RTinet_connect(
int
,
const
RTinet_address
*, RTinet_port );
36
extern
int
RTinet_getname(
int
,
RTinet_address
*, RTinet_port * );
37
extern
int
RTinet_listen(
int
,
int
max = 5);
38
extern
int
RTinet_lookup(
const
char
*,
RTinet_address
* );
39
extern
int
RTinet_nonblocking(
int
);
40
extern
int
RTinet_primary(
int
,
RTinet_address
* );
41
extern
int
RTinet_read(
int
,
char
*,
int
);
42
extern
int
RTinet_recvfrom(
int
,
char
*,
int
,
43
RTinet_address
*, RTinet_port * );
44
extern
int
RTinet_reuseaddr(
int
);
45
extern
int
RTinet_sendto(
int
,
const
char
*,
int
,
46
const
RTinet_address
*, RTinet_port );
47
extern
int
RTinet_write(
int
,
const
char
*,
int
);
48
49
}
50
51
#endif
// HAVE_INET
52
53
#endif
// __RTinet_h__
RTinet_address
Definition:
RTinet.h:22
Generated by
1.9.6