About
User Reference
C++ API
luafaudes
Developer
Links
libFAUDES online
libFAUDES

Sections

Index

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.


Defines

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


Define 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 461 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 465 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 467 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 463 of file iop_simplenet.cpp.

libFAUDES 2.22k --- 2013.04.02 --- c++ source docu by doxygen