Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

vmdsock.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <arpa/inet.h>
#include <fcntl.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netdb.h>
#include <errno.h>
#include "vmdsock.h"

Go to the source code of this file.


Defines

#define VMDSOCKINTERNAL 1

Functions

int vmdsock_init (void)
void * vmdsock_create (void)
int vmdsock_connect (void *v, const char *host, int port)
int vmdsock_bind (void *v, int port)
int vmdsock_listen (void *v)
void * vmdsock_accept (void *v)
int vmdsock_write (void *v, const void *buf, int len)
int vmdsock_read (void *v, void *buf, int len)
void vmdsock_shutdown (void *v)
void vmdsock_destroy (void *v)
int vmdsock_selread (void *v, int sec)
int vmdsock_selwrite (void *v, int sec)

Define Documentation

#define VMDSOCKINTERNAL 1

Definition at line 26 of file vmdsock.c.


Function Documentation

void* vmdsock_accept ( void * v )

Definition at line 119 of file vmdsock.c.

References NULL.

int vmdsock_bind ( void * v,
int port
)

Definition at line 105 of file vmdsock.c.

int vmdsock_connect ( void * v,
const char * host,
int port
)

Definition at line 83 of file vmdsock.c.

References NULL.

void* vmdsock_create ( void )

void vmdsock_destroy ( void * v )

Definition at line 175 of file vmdsock.c.

References NULL.

int vmdsock_init ( void )

int vmdsock_listen ( void * v )

Definition at line 114 of file vmdsock.c.

int vmdsock_read ( void * v,
void * buf,
int len
)

Definition at line 153 of file vmdsock.c.

int vmdsock_selread ( void * v,
int sec
)

Definition at line 188 of file vmdsock.c.

References NULL.

int vmdsock_selwrite ( void * v,
int sec
)

Definition at line 205 of file vmdsock.c.

References NULL.

void vmdsock_shutdown ( void * v )

Definition at line 163 of file vmdsock.c.

References NULL.

int vmdsock_write ( void * v,
const void * buf,
int len
)

Definition at line 144 of file vmdsock.c.


Generated on Mon Nov 17 02:47:53 2025 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002

AltStyle によって変換されたページ (->オリジナル) /