Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   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 21 of file vmdsock.c.


Function Documentation

void* vmdsock_accept void *    v
 

Definition at line 114 of file vmdsock.c.

References NULL.

int vmdsock_bind void *    v,
int    port
 

Definition at line 100 of file vmdsock.c.

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

Definition at line 78 of file vmdsock.c.

References NULL.

void* vmdsock_create void   
 

Definition at line 62 of file vmdsock.c.

References NULL.

Referenced by VMDCollab::connect, IMDSim::IMDSim, and VMDCollab::startserver.

void vmdsock_destroy void *    v
 

Definition at line 170 of file vmdsock.c.

References NULL.

int vmdsock_init void   
 

Definition at line 43 of file vmdsock.c.

Referenced by IMDSim::IMDSim.

int vmdsock_listen void *    v
 

Definition at line 109 of file vmdsock.c.

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

Definition at line 148 of file vmdsock.c.

int vmdsock_selread void *    v,
int    sec
 

Definition at line 183 of file vmdsock.c.

References NULL.

int vmdsock_selwrite void *    v,
int    sec
 

Definition at line 200 of file vmdsock.c.

References NULL.

void vmdsock_shutdown void *    v
 

Definition at line 158 of file vmdsock.c.

References NULL.

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

Definition at line 139 of file vmdsock.c.


Generated on Sun Jul 6 01:28:11 2008 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002