Re: how to communicate with a server?
- Posted by irv Oct 15, 2010
- 1720 views
Since you said a cgi program, I'm guessing you're going to be running a web server - such as apache.
If so, look at socks which is a very simple program with enough socket stuff to do the job. about 250 lines, so it's easy to follow.
OTOH, perhaps you want to use RPC (remote procedure calls). Dave Cuny has a package: RDC which USED to work fine, but for some reason, does not now work on my Linux computer - perhaps some addition security measures are preventing it from working. All calls to accept fail.