ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcppDataServer.c File Reference
#include <ngc/core/ngcpp.h>
#include <ngc/core/ngcbSocket.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/ipc.h>
#include <sys/sem.h>

Functions

void * ngcppDataServerTcp (void *argp)
 
ngcb_thread_t ngcppDPUB_THID (int idx)
 

Variables

char ngcppDataSrvName [256]
 
char ngcppLocalPath [256]
 
int ngcppDataPort = -1
 
int ngcppNumDataClients = 0
 

Detailed Description

Function Documentation

◆ ngcppDataServerTcp()

void * ngcppDataServerTcp ( void * argp)

Built-in tcp/ip data transfer server

◆ ngcppDPUB_THID()

ngcb_thread_t ngcppDPUB_THID ( int idx)

data publisher thread id

Variable Documentation

◆ ngcppDataPort

int ngcppDataPort = -1

Data server port number

◆ ngcppDataSrvName

char ngcppDataSrvName[256]

Data server device name

◆ ngcppLocalPath

char ngcppLocalPath[256]

Path to local data

◆ ngcppNumDataClients

int ngcppNumDataClients = 0

Number of actually connected data clients