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"
#include <time.h>
#include <sys/time.h>

Go to the source code of this file.

Namespaces

namespace  faudes
 

libFAUDES resides within the namespace faudes.


Defines

#define WINCASTSTR
#define FAUDES_IODEVICE_BROADCASTPORT   40000
#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)
void * faudes::NDeviceReply (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 FAUDES_IODEVICE_BROADCASTPORT   40000

Definition at line 36 of file iop_simplenet.cpp.

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

Definition at line 420 of file iop_simplenet.cpp.

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

Definition at line 424 of file iop_simplenet.cpp.

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

Definition at line 426 of file iop_simplenet.cpp.

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

Definition at line 422 of file iop_simplenet.cpp.

#define WINCASTSTR

Definition at line 27 of file iop_simplenet.cpp.

libFAUDES 2.20d --- 2011.04.26 --- c++ source docu by doxygen