OSAPI
0.29
Open System API
com_type_tcp.h
1
// *****************************************************************************************
2
//
3
// File description:
4
//
5
// Author: Joao Costa
6
// Purpose: TCP type declarations
7
//
8
// *****************************************************************************************
9
10
#ifndef OSAPI_COM_TYPE_TCP_H_
11
#define OSAPI_COM_TYPE_TCP_H_
12
13
// *****************************************************************************************
14
//
15
// Section: Import headers
16
//
17
// *****************************************************************************************
18
19
// Standard C headers
20
21
22
// General OSAPI headers
23
#include "general/general_protocol.h"
24
#include "common/common_types.h"
25
26
// Include own headers
27
28
29
// *****************************************************************************************
30
//
31
// Section: Type definitions
32
//
33
// *****************************************************************************************
34
36
struct
osapi_tcp_S
37
{
38
t_ip
ip
;
39
t_lport
port
;
40
};
41
43
typedef
struct
osapi_tcp_S
t_tcp
;
44
45
46
47
48
#endif
/* OSAPI_COM_TYPE_TCP_H_ */
osapi_tcp_S::ip
t_ip ip
The IP information part.
Definition:
com_type_tcp.h:38
osapi_tcp_S::port
t_lport port
The Port information part.
Definition:
com_type_tcp.h:39
osapi_common_lport_S
Definition:
common_types_lport.h:45
osapi_tcp_S
Define a generic TCP connection type.
Definition:
com_type_tcp.h:36
osapi_common_ip_S
Structure to support IP information.
Definition:
common_types_ip.h:96
code
com
type
com_type_tcp.h
Generated by
1.8.17