F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
IpCfg.hpp
Go to the documentation of this file.
1// ======================================================================
2// \title IpCfg.hpp
3// \author mstarch
4// \brief hpp file for SocketIpDriver component implementation class
5//
6// \copyright
7// Copyright 2009-2015, by the California Institute of Technology.
8// ALL RIGHTS RESERVED. United States Government Sponsorship
9// acknowledged.
10//
11// ======================================================================
12
13#ifndef REF_IPCFG_HPP
14#define REF_IPCFG_HPP
15
16enum IpCfg {
17 SOCKET_SEND_TIMEOUT_SECONDS = 1, // Seconds component of timeout to an individual send
18 SOCKET_SEND_TIMEOUT_MICROSECONDS = 0, // Milliseconds component of timeout to an individual send
19 SOCKET_IP_SEND_FLAGS = 0, // send, sendto FLAGS argument
20 SOCKET_IP_RECV_FLAGS = 0, // recv FLAGS argument
21 SOCKET_MAX_ITERATIONS = 0xFFFF, // Maximum send/recv attempts before an error is returned
22 SOCKET_RETRY_INTERVAL_MS = 1000, // Interval between connection retries before main recv thread starts
23 SOCKET_MAX_HOSTNAME_SIZE = 256 // Maximum stored hostname
24};
25
26
27
28#endif //REF_IPCFG_HPP
IpCfg
Definition IpCfg.hpp:16
@ SOCKET_SEND_TIMEOUT_SECONDS
Definition IpCfg.hpp:17
@ SOCKET_RETRY_INTERVAL_MS
Definition IpCfg.hpp:22
@ SOCKET_MAX_HOSTNAME_SIZE
Definition IpCfg.hpp:23
@ SOCKET_IP_RECV_FLAGS
Definition IpCfg.hpp:20
@ SOCKET_SEND_TIMEOUT_MICROSECONDS
Definition IpCfg.hpp:18
@ SOCKET_IP_SEND_FLAGS
Definition IpCfg.hpp:19
@ SOCKET_MAX_ITERATIONS
Definition IpCfg.hpp:21