Macros | Functions | Variables
bandwidth-server-many-up.c File Reference
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <signal.h>
#include <modbus.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
Include dependency graph for bandwidth-server-many-up.c:

Go to the source code of this file.

Macros

#define NB_CONNECTION   5
 

Functions

static void close_sigint (int dummy)
 
int main (void)
 

Variables

modbus_tctx = NULL
 
modbus_mapping_tmb_mapping
 
int server_socket
 

Macro Definition Documentation

#define NB_CONNECTION   5

Definition at line 35 of file bandwidth-server-many-up.c.

Function Documentation

static void close_sigint ( int  dummy)
static

Definition at line 41 of file bandwidth-server-many-up.c.

int main ( void  )

Definition at line 50 of file bandwidth-server-many-up.c.

Variable Documentation

modbus_t* ctx = NULL

Definition at line 37 of file bandwidth-server-many-up.c.

modbus_mapping_t* mb_mapping

Definition at line 39 of file bandwidth-server-many-up.c.

int server_socket

Definition at line 38 of file bandwidth-server-many-up.c.



libmodbus
Author(s):
autogenerated on Sat Nov 21 2020 03:17:32