What is the connection between socket and session?

Showing Answers 1 - 9 of 9 Answers

Prithvi

  • Dec 11th, 2006
 

Socket is a physical port thru were the data is transfered from .

Session is a logical connection for the data to transfer

  Was this answer useful?  Yes

Prithvi

  • Dec 17th, 2006
 

The Socket is a Combination of Ip address and Port Number (in pairs)

Session is a Logical Connectivity between the source and destination 

  Was this answer useful?  Yes

KG

  • Oct 16th, 2007
 

A Socket is a communication end-point unique to a machine communicating on an IP-based network. A socket is composed of:a. Protocol - TCP / UDP / raw IPb. Local IP address. Local Portd. Remote IP address. Remote port.The remote address can be any valid IP address, or 0.0.0.0 for a listening socket, or 255.255.255.255 for a broadcasting socket.Sockets can be implemented over any transport protocol.A Session is a connection between a user (or user agent) and a peer (typically a server) using the session layer of a networking protocol (e.g. telnet, ftp).Thanks.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions