iop_simplenet.cpp File Reference

Simple networked events via tcp/ip. More...

#include "iop_simplenet.h"

Go to the source code of this file.

Namespaces

 faudes
 libFAUDES resides within the namespace faudes.
 

Macros

#define LOCK_E
 
#define UNLOCK_E
 
#define TLOCK_E
 
#define TUNLOCK_E
 

Functions

int faudes::syncSend (int dest, const char *data, int len, int flag)
 
void * faudes::NDeviceListen (void *arg)
 

Variables

AutoRegisterType< nDevice > faudes::gRtiRegisterSimplenetDevice ("SimplenetDevice")
 

Detailed Description

Simple networked events via tcp/ip.

Definition in file iop_simplenet.cpp.

Macro Definition Documentation

◆ LOCK_E

#define LOCK_E
Value:
{int rc = faudes_mutex_lock(&mMutex); \
if(rc) {FD_ERR("nDevice::LOCK_E: lock mutex error\n"); exit(1); }}
#define FD_ERR(message)
Debug: report more errors with file/line info.

Definition at line 474 of file iop_simplenet.cpp.

◆ TLOCK_E

#define TLOCK_E
Value:
{int rc = faudes_mutex_lock(&ndevice->mMutex); \
if(rc) {FD_ERR("nDevice::TLOCK_E: lock mutex error\n"); exit(1); }}

Definition at line 478 of file iop_simplenet.cpp.

◆ TUNLOCK_E

#define TUNLOCK_E
Value:
{int rc = faudes_mutex_unlock(&ndevice->mMutex); \
if(rc) {FD_ERR("nDevice::TLOCK_E: unlock mutex error\n"); exit(1); }}

Definition at line 480 of file iop_simplenet.cpp.

◆ UNLOCK_E

#define UNLOCK_E
Value:
{int rc = faudes_mutex_unlock(&mMutex); \
if(rc) {FD_ERR("nDevice::LOCK_E: unlock mutex error\n"); exit(1); }}

Definition at line 476 of file iop_simplenet.cpp.

libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen