RemoteStream.h File Reference

#include "CSL_Includes.h"
#include "ThreadUtilities.h"
#include <stdio.h>
#include <stdlib.h>
#include <semaphore.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/param.h>
#include <netdb.h>
#include <netinet/in.h>
#include <arpa/inet.h>

Go to the source code of this file.


Classes

struct  csl::CSL_RS_MSG
class  csl::RemoteStream

Namespaces

namespace  csl
 < we use the STL vector, map, and string classes

Defines

#define closesocket(x)   ::close(x)
#define RS_PACKET_MAGIC   0x00420000
#define RS_PACKET_SIZE   (sizeof(CSL_RFS_MSG))
#define RS_BUFFER_SIZE   (mBufferSize * mNumChannels * sizeof(sample))
#define RS_RESPONSE_PACKET_SIZE   (RFS_PACKET_SIZE + RS_BUFFER_SIZE + 4)
#define CSL_DEFAULT_REQUEST_PORT   57574
#define CSL_CMD_SET_CLIENT   42
#define CSL_CMD_NEXT_BUFFER   43
#define CSL_CMD_STOP   47

Typedefs

typedef void *(* csl::THREAD_START_ROUTINE )(void *)

Functions

void * csl::RS_read_loop (void *inst)
int csl::CSL_CreateThread (THREAD_START_ROUTINE pfnThreadProc, void *pvParam)


Define Documentation

#define closesocket ( x   )     ::close(x)

#define RS_PACKET_MAGIC   0x00420000

#define RS_PACKET_SIZE   (sizeof(CSL_RFS_MSG))

#define RS_BUFFER_SIZE   (mBufferSize * mNumChannels * sizeof(sample))

#define RS_RESPONSE_PACKET_SIZE   (RFS_PACKET_SIZE + RS_BUFFER_SIZE + 4)

#define CSL_DEFAULT_REQUEST_PORT   57574

#define CSL_CMD_SET_CLIENT   42

#define CSL_CMD_NEXT_BUFFER   43

#define CSL_CMD_STOP   47

Referenced by csl::RemoteIO_read_loop().


Generated on Thu Sep 17 23:14:16 2009 for CSL by  doxygen 1.5.8