
February 10, 2001
Solution Symposium
Page 54
hp e3000
programming
and posix
sockets - client example
mysock = socket(AF_INET,SOCK_STREAM,0);
connect(mysock,<remote address>);
write() or send() the request to the server
read() or recv() the response from the server
close(mysock);