riCOM_cpp
This repository contains the C++ implementation of the riCOM (Real Time Centre Of Mass) algorithm for 4D Scanning electron microscopy.
Classes | Macros | Enumerations
SocketConnector.h File Reference
#include <arpa/inet.h>
#include <unistd.h>
#include <cerrno>
#include <cstring>
#include <string>
#include <iostream>
Include dependency graph for SocketConnector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SocketConnector
 

Macros

#define SOCKET   int
 
#define SOCKET_ERROR   -1
 
#define INVALID_SOCKET   -1
 

Enumerations

enum  Socket_type { SERVER , CLIENT }
 

Macro Definition Documentation

◆ INVALID_SOCKET

#define INVALID_SOCKET   -1

Definition at line 30 of file SocketConnector.h.

◆ SOCKET

#define SOCKET   int

Definition at line 28 of file SocketConnector.h.

◆ SOCKET_ERROR

#define SOCKET_ERROR   -1

Definition at line 29 of file SocketConnector.h.

Enumeration Type Documentation

◆ Socket_type

Enumerator
SERVER 
CLIENT 

Definition at line 36 of file SocketConnector.h.

36 {SERVER,CLIENT};
@ CLIENT
@ SERVER