Call for Paper - January 2024 Edition
IJCA solicits original research papers for the January 2024 Edition. Last date of manuscript submission is December 20, 2023. Read More

Types of socket programming and socket designs: A Review

International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Year of Publication: 2021
Ameya Gokhale

Ameya Gokhale. Types of socket programming and socket designs: A Review. International Journal of Computer Applications 183(32):34-39, October 2021. BibTeX

	author = {Ameya Gokhale},
	title = {Types of socket programming and socket designs: A Review},
	journal = {International Journal of Computer Applications},
	issue_date = {October 2021},
	volume = {183},
	number = {32},
	month = {Oct},
	year = {2021},
	issn = {0975-8887},
	pages = {34-39},
	numpages = {6},
	url = {},
	doi = {10.5120/ijca2021921714},
	publisher = {Foundation of Computer Science (FCS), NY, USA},
	address = {New York, 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


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.