![]() |
10.5120/ijca2021921714 |
Ameya Gokhale. Types of socket programming and socket designs: A Review. International Journal of Computer Applications 183(32):34-39, October 2021. BibTeX
@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 = {October 2021}, volume = {183}, number = {32}, month = {Oct}, year = {2021}, issn = {0975-8887}, pages = {34-39}, numpages = {6}, url = {http://www.ijcaonline.org/archives/volume183/number32/32140-2021921714}, doi = {10.5120/ijca2021921714}, publisher = {Foundation of Computer Science (FCS), NY, USA}, address = {New York, 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
- 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
- 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
- SouradeepBarua "Socket Programming in Java" February 26, 2018, [online] available: https://www.geeksforgeeks.org/socket-programming-in-java
- Neha Vaidya "Know all about Socket Programming in Java" June 17, 2021 [online] available: https://www.edureka.co/blog/socket-programming-in-java/
- KishlayVerma "Socket Programming in Python" August 31, 2021 [online] available: https://www.geeksforgeeks.org/socket-programming-python/
- https://www.ibm.com/docs/en/i/7.1?topic=programming-examples-socket-application-designs
- https://www.ibm.com/docs/en/i/7.1?topic=designs-examples-connection-oriented
- https://www.ibm.com/docs/en/i/7.1?topic=designs-example-using-asynchronous-io
- https://www.ibm.com/docs/en/i/7.1?topic=designs-example-using-signals-blocking-socket-apis
- 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
- https://softwareengineering.stackexchange.com/questions/109442/difference-between-networking-programming-and-socket-programming
- https://docs.oracle.com/cd/E19455-01/806-1017/sockets-4/index.html
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.