#include "TCPSynchronizedClient.h"#include "SpikeStreamSimulation.h"#include "DeviceMessages.h"#include "PerformanceTimer.h"#include <pthread.h>Go to the source code of this file.
Defines | |
| #define | SPIKE_BUFFER_SIZE 60000 |
| #define | MESSAGE_BUFFER_SIZE 1048576 |
Functions | |
| void * | startTCPClientConnectThread (void *tmpTcpSyncClient) |
|
|
Size of the receive buffer used to unpack spikes from the network. Definition at line 46 of file TCPSynchronizedClient.cpp. Referenced by UDPSynchronizedClient::run(), TCPSynchronizedClient::TCPSynchronizedClient(), and UDPSynchronizedClient::UDPSynchronizedClient(). |
|
|
Size of the array used to store received spikes. This has enough space for more than 5000 spikes, each of which takes 12 bytes to store. return false; Definition at line 42 of file TCPSynchronizedClient.cpp. Referenced by UDPSynchronizedClient::run(), TCPSynchronizedClient::TCPSynchronizedClient(), and UDPSynchronizedClient::UDPSynchronizedClient(). |
|
|
Function that is called in a separate thread to connect to the socket. Definition at line 50 of file TCPSynchronizedClient.cpp. References TCPSynchronizedClient::externalDevAddr, TCPSynchronizedClient::socketConnected, TCPSynchronizedClient::socketHandle, and SpikeStreamSimulation::systemError(). Referenced by TCPSynchronizedClient::openSocket(). |
1.4.4