7 #if defined(VMDSOCKINTERNAL)
11 #include <sys/types.h>
12 #include <sys/socket.h>
14 #include <netinet/in.h>
19 struct sockaddr_in addr;
int vmdsock_selwrite(void *v, int sec)
void * vmdsock_create(void)
int vmdsock_selread(void *v, int sec)
int vmdsock_connect(void *v, const char *host, int port)
int vmdsock_listen(void *v)
int vmdsock_bind(void *v, int port)
void vmdsock_destroy(void *v)
int vmdsock_write(void *v, const void *buf, int len)
int vmdsock_read(void *v, void *buf, int len)
void * vmdsock_accept(void *v)