answersLogoWhite

0


Best Answer

A socket is distinguished by a combination of IP address and port number - both for the origin and for the destination. So, two connections will be different connections, if any of these are different.

A socket is distinguished by a combination of IP address and port number - both for the origin and for the destination. So, two connections will be different connections, if any of these are different.

A socket is distinguished by a combination of IP address and port number - both for the origin and for the destination. So, two connections will be different connections, if any of these are different.

A socket is distinguished by a combination of IP address and port number - both for the origin and for the destination. So, two connections will be different connections, if any of these are different.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

A socket is distinguished by a combination of IP address and port number - both for the origin and for the destination. So, two connections will be different connections, if any of these are different.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How does a socket distinguish one TCP connection from the other?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Define socket in java?

The Socket class in Java is an endpoint in a standard TCP connection. The Socket class implements methods which take care of all the overhead required with TCP communication.


Why do you have type data gram socket?

A datagram socket represents a connectionless, non-guaranteed communication protocol. It represents the UDP protocol in the TCP/IP suite.Contrast this with a stream socket, which represents a connection oriented, guaranteed, communication protocol. It represents the TCP protocol in the TCP/IP suite.UDP is the underlying protocol for TCP. If you are talking OSI model, UDP is layer 3, and TCP is layer 4.


What is the difference between TCP and UDP socket?

TCP and UDP are both communication network protocols. TCP protocol in its essence is to guarantee delivery of information, and in the order sent. UDP protocol is lighter, by fact of not checking for the connection to be ready to receive on the other end, not checking if the information getting to the other end is correctly received.


What type of connection does http use?

HTTP works over a TCP connection.HTTP works over a TCP connection.HTTP works over a TCP connection.HTTP works over a TCP connection.


How does one go about using a java 7 socket?

A socket is used in computer programming and helps two devices to make a connection. In Java 7, sockets can be employed utilizing the TCP/IP interface.


What is TCP subprotocol?

Connection-oriented


When is UDP preferred to TCP?

UDP and TCP both are transport layer protocols. UDP is connection less and TCP is connection oriented. UDP is preferred over TCP when large amount data is to be sent like on skype or video conferencing .


Difference TCP and UDP?

TCP is the protocol of network layer, It is connection oriented protocol. UDP is the protocol of network layer, It is connection less protocol.


How many TCP segments flow between two computers to establish a TCP connection?

Three


During network communication through TCPIP which part of communication is goverened by tcp and which by ip as one is connection oriented and other connection less.?

its just awesome


Why should telnet to UDP port fail?

A single port can be configured to listen for UDP or TCP inbound connection requests (or both). Telnet uses TCP. So when you telnet to a specific IP:port, telnet will attempt to make a TCP connection. If there is no TCP listener on the port you specify, then the connection request will be refused. It matters not if you have a UDP listener on the port. Telnet will not be able to establish a connection to a UDP port.


What protocols are supported by TCP wrappers?

tcp based protocols,internet protocol,sometimes file transfer protocol also supported by tcp wrappers. tcp is reliable and connection oriented.