Open Access Open Access  Restricted Access Subscription or Fee Access

Socket Web-Server Technology

Manish Kr. Dixit

Abstract


The aim of the paper is to introduce sockets, how it can be implemented for network programming. An important role is played by Sockets in client server applications. The communication between the client and server takes place by writing to or reading from these sockets. Linux functions such as printing, connecting to databases, and serving web pages as well as network utilities for remote login and ftp for file transfer usually use sockets to communicate. A “socket” or a "logical endpoint” is defined as combination of a specific network address and a port. A socket structure is utilized for storing the TCP-specific information for each connection, and there is an array of such type of structures to reflect the maximum number of simultaneous Connections. We have implemented socket for communication using TCP/IP protocol to serve the request and access the file using HTTP protocol. Two processes communicate through TCP sockets. A full-duplex byte stream/two way communication path between two individual processes is provided by the socket model.

Full Text:

PDF

Refbacks

  • There are currently no refbacks.