CFP last date
20 December 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
10.5120/ijca2021921714

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 = { https://ijcaonline.org/archives/volume183/number32/32140-2021921714/ },
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
Abstract

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.

References
  1. DebjyotiBhattacharjee, "Which language should I choose for Socket programming, Python or Java?" May 29, 2015 [online] available: https://www.quora.com/Which-language-should-I-choose-for-Socket-programming-Python-or-Java
  2. SatishAnnigeri, "Is python a good choice for socket programming?" February 15, 2019 [online] available: https://www.quora.com/Is-python-a-good-choice-for-socket-programming
  3. SouradeepBarua "Socket Programming in Java" February 26, 2018, [online] available: https://www.geeksforgeeks.org/socket-programming-in-java
  4. Neha Vaidya "Know all about Socket Programming in Java" June 17, 2021 [online] available: https://www.edureka.co/blog/socket-programming-in-java/
  5. KishlayVerma "Socket Programming in Python" August 31, 2021 [online] available: https://www.geeksforgeeks.org/socket-programming-python/
  6. https://www.ibm.com/docs/en/i/7.1?topic=programming-examples-socket-application-designs
  7. https://www.ibm.com/docs/en/i/7.1?topic=designs-examples-connection-oriented
  8. https://www.ibm.com/docs/en/i/7.1?topic=designs-example-using-asynchronous-io
  9. https://www.ibm.com/docs/en/i/7.1?topic=designs-example-using-signals-blocking-socket-apis
  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
  11. https://softwareengineering.stackexchange.com/questions/109442/difference-between-networking-programming-and-socket-programming
  12. https://docs.oracle.com/cd/E19455-01/806-1017/sockets-4/index.html
Index Terms

Computer Science
Information Sciences

Keywords

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.