21 #ifndef REDPITAYA_COMMON_H 22 #define REDPITAYA_COMMON_H 29 #pragma comment(lib, "ws2_32.lib") 31 #define INVSOC INVALID_SOCKET 35 #include <sys/types.h> 36 #include <sys/ioctl.h> 37 #include <sys/socket.h> 38 #include <sys/select.h> 39 #include <netinet/in.h> 40 #include <arpa/inet.h> 47 #if defined(__APPLE__) || defined(__MACH__) 49 #define MSG_NOSIGNAL SO_NOSIGPIPE 55 #endif // REDPITAYA_COMMON_H #define SOCKET
Definition: redpitaya_common.h:42
void redpitaya_send_command(SOCKET socket, uint32_t command)