NAMD
|
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <arpa/inet.h>
#include <fcntl.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.
Macros | |
#define | VMDSOCKINTERNAL |
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_destroy (void *v) |
int | vmdsock_selread (void *v, int sec) |
int | vmdsock_selwrite (void *v, int sec) |
#define VMDSOCKINTERNAL |
void* vmdsock_accept | ( | void * | v | ) |
int vmdsock_bind | ( | void * | v, |
int | port | ||
) |
Definition at line 114 of file vmdsock.C.
Referenced by find_free_port().
int vmdsock_connect | ( | void * | v, |
const char * | host, | ||
int | port | ||
) |
void* vmdsock_create | ( | void | ) |
Definition at line 76 of file vmdsock.C.
Referenced by GlobalMasterIMD::GlobalMasterIMD().
void vmdsock_destroy | ( | void * | v | ) |
Definition at line 164 of file vmdsock.C.
Referenced by GlobalMasterIMD::calculate(), GlobalMasterIMD::get_vmd_forces(), GlobalMasterIMD::GlobalMasterIMD(), and GlobalMasterIMD::~GlobalMasterIMD().
int vmdsock_init | ( | void | ) |
Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.
Definition at line 52 of file vmdsock.C.
Referenced by GlobalMasterIMD::GlobalMasterIMD().
int vmdsock_listen | ( | void * | v | ) |
Definition at line 123 of file vmdsock.C.
Referenced by GlobalMasterIMD::GlobalMasterIMD().
int vmdsock_read | ( | void * | v, |
void * | buf, | ||
int | len | ||
) |
Definition at line 154 of file vmdsock.C.
Referenced by imd_readn().
int vmdsock_selread | ( | void * | v, |
int | sec | ||
) |
Definition at line 177 of file vmdsock.C.
Referenced by GlobalMasterIMD::calculate(), GlobalMasterIMD::get_vmd_forces(), imd_recv_handshake(), and my_imd_connect().
int vmdsock_selwrite | ( | void * | v, |
int | sec | ||
) |
Definition at line 194 of file vmdsock.C.
Referenced by GlobalMasterIMD::send_energies(), and GlobalMasterIMD::send_fcoords().
int vmdsock_write | ( | void * | v, |
const void * | buf, | ||
int | len | ||
) |
Definition at line 145 of file vmdsock.C.
Referenced by imd_writen().