Are these 2 concepts refer to the same thing? Do they have difference?
In my opinion, they are different, and socket connection is based on tcp connection. A socket cont
Socket is layer 5 protocol (Session) in OSI Model and is not dependent on underlying layers which means it can be over TCP, UDP, MPTCP, ... (Layer 4 - Transport layer protocols). Socket connection is used for continues exchange of data between nodes (it creates a session between them) but TCP connection makes a reliable transmission of data segments between nodes.