home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
nisttime.carsoncity.k12.mi.us
/
nisttime.carsoncity.k12.mi.us.tar
/
nisttime.carsoncity.k12.mi.us
/
pub
/
daytime
/
vms_tcp_wollongong.c
< prev
Wrap
C/C++ Source or Header
|
1996-11-18
|
919b
|
42 lines
The following changes should be made to vax_tcp_time_client.c
file to support Wollongong's Pathway TCP/IP for VMS:
Top of file:
#include stsdef
#include stdio
#include string
#include ctype
#ifdef WOLLONGONG
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/time.h>
#define read netread
#define close netclose
#else
#include types
#include socket
#include time
#include inet
#include <sys$library:ucx$inetdef.h>
#endif
Comment block:
Revised 15-Dec-1994 by Peter Cascio for Wollongong Pathway TCP/IP for VMS
$ @twg$tcp:[netdist.misc]def
$ cc/define=WOLLONGONG vms_tcp_time_client
$ link vms_tcp_time_client, sys$input/opt
sys$share:twglib/share
sys$share:vaxcrtl.exe/share
Questions to:
Pete Cascio
Home: pete@nuthatch.blackforest.co.us
DEC: cascio@cxo.mts.dec.com
MCI: cascio_p@kant.cs.mci.com