CFP last date
22 July 2024
Reseach Article

Types of socket programming and socket designs: A Review

by Ameya Gokhale
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 183 - Number 32
Year of Publication: 2021
Authors: Ameya Gokhale

Ameya Gokhale . Types of socket programming and socket designs: A Review. International Journal of Computer Applications. 183, 32 ( Oct 2021), 34-39. DOI=10.5120/ijca2021921714

@article{ 10.5120/ijca2021921714,
author = { Ameya Gokhale },
title = { Types of socket programming and socket designs: A Review },
journal = { International Journal of Computer Applications },
issue_date = { Oct 2021 },
volume = { 183 },
number = { 32 },
month = { Oct },
year = { 2021 },
issn = { 0975-8887 },
pages = { 34-39 },
numpages = {9},
url = { },
doi = { 10.5120/ijca2021921714 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
%0 Journal Article
%1 2024-02-07T01:18:34.022298+05:30
%A Ameya Gokhale
%T Types of socket programming and socket designs: A Review
%J International Journal of Computer Applications
%@ 0975-8887
%V 183
%N 32
%P 34-39
%D 2021
%I Foundation of Computer Science (FCS), NY, USA

Sockets are used to connect multiple devices on a network. This concept is used widely in networking and network based applications. Complex networks can be developed using APIs (Application Programming Interface) in the applications using network. Socket Programming is supported in many languages, namely C, C++, C#, Python, Java and others. Sockets are created using the host IPA (Internet Protocol Address) and the TCP (Transmission Control Protocol) port number. Socket Programming can be done in numerous ways, as there are different designs of socket programming. Also, there are many different types of sockets. In this paper, Python and Java are used instead of other powerful programming languages, due to multiple reasons, including the fact that these two languages are extensively used in networking. This paper also discusses varied reasons for choosing Python and Java over other programming languages. A code presenting a simple client-server connection using socket programming in both, Python and Java has also been included in this paper. This research paper focuses on Applications of socket, their designs, types of socket and a simple socket server using Python and Java.

  1. DebjyotiBhattacharjee, "Which language should I choose for Socket programming, Python or Java?" May 29, 2015 [online] available:
  2. SatishAnnigeri, "Is python a good choice for socket programming?" February 15, 2019 [online] available:
  3. SouradeepBarua "Socket Programming in Java" February 26, 2018, [online] available:
  4. Neha Vaidya "Know all about Socket Programming in Java" June 17, 2021 [online] available:
  5. KishlayVerma "Socket Programming in Python" August 31, 2021 [online] available:
  10. Rolou Lyn R. Maata, Ronald Cordova, BalajiSudramurthy, AlrenceHalibas, "Design and Implementation of Client-Server Based Application using Socket Programming in a Distributed Computing Environment", IEEE International Conference on Computational Intelligence and Computing Research, 2017
Index Terms

Computer Science
Information Sciences


Sockets network Application Programming Interface host IPA Internet Protocol Address Transmission Control Protocol port number Python and Java client-server socket programming Applications of Socket.