API  2.3.0
TSmarT Software Library
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
tsmart_cellular_2g_tcp_server_t Struct Reference

TCP server structure. More...

#include <tsmart_cellular_2g.h>

Data Fields

uint8_t id_session
 
uint16_t port
 
uint8_t min_id_child
 
uint8_t max_id_child
 

Detailed Description

TCP server structure.

TCP server cannot be used to transfer data. To transfer data, it creates a local TCP client socket. This process of creating local socket is referred as “spawning”.

Examples:
cellular_2g_tcp_server.c.

Field Documentation

uint8_t id_session

Session identifier. Range: 1-8

Examples:
cellular_2g_tcp_server.c.
uint8_t max_id_child

Maximum index for spawned TCP sockets. Range: 1-8

Examples:
cellular_2g_tcp_server.c.
uint8_t min_id_child

Minimum index for spawned TCP sockets. Range: 1-8

Examples:
cellular_2g_tcp_server.c.
uint16_t port

TCP server port. Range: 1-65535

Examples:
cellular_2g_tcp_server.c.