Socket Web-Server Technology

Authors

  • Manish Kr. Dixit Electronics And Communication Department Bundelkhand Institute of Engineering and Technology Jhansi, Uttar Pradesh, India

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.

Published

2016-11-02

Issue

Section

Articles