International Journal of Distributed Computing and Technology

Socket Web-Server Technology

  1. 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.

Read more of it

Subscribe to one journal or build your own list of several. One invoice, one payment, access for a full year.

Subscribe to journals →

Publish your article

Peer-reviewed journals across every subject, with open access options. Send your manuscript to the right editor today.

Publish with us → Calculate your APC
Support