![]() |
COSMOS core
1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
|
Macros | |
| #define | SOCKET_BLOCKING true |
| Blocking Agent. More... | |
| #define | SOCKET_NONBLOCKING false |
| Non-blocking Agent. More... | |
| #define | SOCKET_TALK 0 |
| Talk followed by optional listen (sendto address) More... | |
| #define | SOCKET_LISTEN 1 |
| Listen followed by optional talk (recvfrom INADDRANY) More... | |
| #define | SOCKET_COMMUNICATE 2 |
| Communicate socket (sendto followed by recvfrom) More... | |
| #define | SOCKET_JABBER 3 |
| Talk over multiple interfaces. More... | |
| #define | SOCKET_RCVTIMEO 100000 |
| Default SOCKET RCVTIMEO (100 msec) More... | |
| #define | SOCKET_IP_BYTE_VERSION 0 |
| IP Version Byte. More... | |
| #define | SOCKET_IP_BYTE_LEN_LOW 3 |
| #define | SOCKET_IP_BYTE_LEN_HIGH 2 |
| #define | SOCKET_IP_BYTE_PROTOCOL 9 |
| #define | SOCKET_IP_BYTE_SRC_ADDR 12 |
| #define | SOCKET_IP_BYTE_DEST_ADDR 16 |
| #define | SOCKET_IP_BYTE_UDP_LEN 24 |
| #define | SOCKET_IP_BYTE_UDP_CS 26 |
| #define | SOCKET_IP_PROTOCOL_UDP 17 |
| #define | SOCKET_BUFFER_LENGTH 512 |
Enumerations | |
| enum | NetworkType : std::uint16_t { NetworkType::MULTICAST =0, NetworkType::BROADCAST =2, NetworkType::UDP =5, NetworkType::TCP =3, NetworkType::CSP =4 } |
| #define SOCKET_BLOCKING true |
Blocking Agent.
| #define SOCKET_NONBLOCKING false |
Non-blocking Agent.
| #define SOCKET_TALK 0 |
Talk followed by optional listen (sendto address)
| #define SOCKET_LISTEN 1 |
Listen followed by optional talk (recvfrom INADDRANY)
| #define SOCKET_COMMUNICATE 2 |
Communicate socket (sendto followed by recvfrom)
| #define SOCKET_JABBER 3 |
Talk over multiple interfaces.
| #define SOCKET_RCVTIMEO 100000 |
Default SOCKET RCVTIMEO (100 msec)
| #define SOCKET_IP_BYTE_VERSION 0 |
IP Version Byte.
| #define SOCKET_IP_BYTE_LEN_LOW 3 |
| #define SOCKET_IP_BYTE_LEN_HIGH 2 |
| #define SOCKET_IP_BYTE_PROTOCOL 9 |
| #define SOCKET_IP_BYTE_SRC_ADDR 12 |
| #define SOCKET_IP_BYTE_DEST_ADDR 16 |
| #define SOCKET_IP_BYTE_UDP_LEN 24 |
| #define SOCKET_IP_BYTE_UDP_CS 26 |
| #define SOCKET_IP_PROTOCOL_UDP 17 |
| #define SOCKET_BUFFER_LENGTH 512 |
|
strong |