This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
ncsa-mosaic/src/port.h

21 lines
398 B
C

#ifndef PORT_DOT_H_BEEN_INCLUDED_BEFORE
#define PORTBUFFERSIZE 1024
typedef struct {
int socketFD;
char *serverAddress;
int serverTCPPort;
int connected;
int numInBuffer;
char buffer[PORTBUFFERSIZE *2 +2];
/* callBack(void *callBackData) */
void (*callBack) (); /* called when connection dropped*/
void *callBackData;
} PortDescriptor;
#define PORT_DOT_H_BEEN_INCLUDED_BEFORE
#endif