#ifndef __LIBM_SOCKETS__ #define __LIBM_SOCKETS__ /* SOCKET COMMUNICATION COMMANDS */ int M_InitSockets(); void M_CloseSocket(int fd); int M_SetNonBlock(int fd, int tf); int M_Real_Connect(int sockfd, const struct sockaddr *serv_addr, socklen_t addrlen, M_CONN *myconn); long M_read(int fd, char *buf, long bytes); long M_write(int fd, char *buf, long bytes); int M_ip_connect(M_CONN *myconn); int M_VerifyPing(M_CONN *myconn); int M_CheckRead(int ptr, long delay); int M_CheckWrite(int ptr, long delay); int M_Monitor_IP(M_CONN *myconn); int M_SendTransaction_IP(M_CONN *myconn, char *identifier, char *transaction); #endif