- int sockopen (char * host, int port)
- FILE * fopenurl (char * url, int * psts, char * content)
- int listenon (char * host, int * startport)
- int accepton (fd, struct sockaddr_in * peer)
- int sockopen (char * host, int port)
- connect up to a socket on host at port. Returns a the fd. Standard system error all apply.
- FILE * fopenurl (char * url, int * psts, char * content)
- Open a socket to URL url. fopenurl returns a FILE if successful. In all cases, the MIME headers are parsed, but you can optionally capture the HTTP status and the MIME content-type by supply these parameters.
© (copyright) 1997 MTCC Last modified: Fri Apr 25 20:22:11 PDT 1997