What is socket programming? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What is socket programming?

Hi guys, 2 days ago one of my friend told me he just started learning socket programming. i don't have any idea what he talking about. so anyone here who can help me understand what socket programming is? what is the purpose of using it? what's it application?

21st Apr 2017, 9:28 AM
maruf sikder
maruf sikder - avatar
4 Answers
+ 13
A socket is one endpoint of a two-way communication link between two programs running on the network. A socket is bound to a port number so that the TCP layer can identify the application that data is destined to be sent to. An endpoint is a combination of an IP address and a port number. <!-- This definition is by google -->
21st Apr 2017, 10:03 AM
Art456
Art456 - avatar
+ 2
can u please suggest a book for learning socket programming?
21st Apr 2017, 10:24 AM
maruf sikder
maruf sikder - avatar
0
What languange?
30th Jul 2018, 8:03 AM
Valtteri
0
Java program that implements Socket Programming? Anyone to help
7th Dec 2021, 3:20 PM
Praise