MIP_SDK
latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
|
Go to the documentation of this file.
5 #ifdef MICROSTRAIN_PLATFORM_WINDOWS
7 #ifndef WIN32_LEAN_AND_MEAN
8 #define WIN32_LEAN_AND_MEAN
37 #ifdef MICROSTRAIN_PLATFORM_WINDOWS
bool tcp_socket_send(tcp_socket *socket_ptr, const void *buffer, size_t num_bytes, size_t *bytes_written)
Definition: tcp_socket.c:140
bool tcp_socket_recv(tcp_socket *socket_ptr, void *buffer, size_t num_bytes, size_t *bytes_read)
Definition: tcp_socket.c:153
struct tcp_socket tcp_socket
int handle
Definition: tcp_socket.h:40
bool tcp_socket_open(tcp_socket *socket_ptr, const char *hostname, uint16_t port, unsigned int timeout_ms)
Definition: tcp_socket.c:105
Definition: tcp_socket.h:35
void tcp_socket_init(tcp_socket *socket_ptr)
Definition: tcp_socket.c:33
bool tcp_socket_close(tcp_socket *socket_ptr)
Definition: tcp_socket.c:124
bool tcp_socket_is_open(const tcp_socket *socket_ptr)
Definition: tcp_socket.c:38