Review of Sockets for Transfer of Files
Between Systems
Pranav Arora and Ankur Dumka
Abstract The sole purpose in this research is to brief about the (need for, types of)
various networking sockets, their various APIs available, and its deployment per-
taining to network programming. Sockets are the apex need in client server
applications. When there is a need to read or write any message between server and
the client, the socket is the apropos choice. The invention of sockets was done
during the production of Unix operating system particularly Berkeley Software
Distribution OS. And their growth within the Internet is far from invincible now.
This paper brings about need and rudimentary factors of socket programming and
ideas behind creating sockets for file transfer between the various systems.
Keywords TCP/IP
Á
Sockets
Á
IPv4
Á
System calls
1 Introduction
According to Merriam-Webster ’s Dictionary, a socket is “an opening or hollow that
forms a holder for something.” The “something” in socket programming are
computer devices that connect and communicate with each other using these
sockets. So without sockets networking is impossible [1]. Two devices that are
connected using these sockets are called client and server
“Socket programming involves writing computer programs that enable processes to
communicate with each other across a computer network”. “A socket is one end-point
of a two-way communication link between two programs running on the network.”
These sockets do not depend on any particular protocol for building up a net-
work between various threads or executing processes. They can be connectionless
or connection-based in nature.
P. Arora Á A. Dumka (&)
University of Petroleum and Energy Studies, Dehradun 248001, India
e-mail: adumka@ddn.upes.ac.in
P. Arora
e-mail: pranav2vis@gmail.com
© Springer Nature Singapore Pte Ltd. 2018
R. Singh et al. (eds.), Intelligent Communication, Control and Devices,
Advances in Intelligent Systems and Computing 624,
https://doi.org/10.1007/978-981-10-5903-2_152
1455