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

namespace  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

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

Definition at line 474 of file iop_simplenet.cpp.

#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.

#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.

#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.28a --- 2016.09.13 --- c++ api documentaion by doxygen