Unix Socket Programming
Socket programming
This is an example of using Unix Socket programming to do enquiries of an
Ingres relational database. This HTML fill-in-the-blanks form called a Perl CGI script
on a windows intranet server running the Apache web server. This then
sends a request for data to the Unix server using a specific port/socket number.
The Unix server sits waiting for a data request on the port number - when a request is received,
it breaks down the request and sets of an Ingres database enquiry. This
enquiry generates a file which is then streamed back to the intanet server which, in turn,
creates the HTML page that is returned to the user.
|