The Gateway to Computer Science Excellence
0 votes
14 views
Primitives of transport service assume asymmetry between the two end points during connection establishment, one end (server) executes LISTEN while the other end (client) executes CONNECT. However, in peer to peer applications such file sharing systems, e.g. BitTorrent, all end points are peers. There is no server or client functionality. How can transport service primitives may be used to build such peer to peer applications?
in Computer Networks by Boss (10.6k points) | 14 views

1 Answer

0 votes

Answer: In this case, as the peers are the two endpoints, so a separate mechanism is required that tells the endpoints at run time that which end will represent as server and which will represent as a client, including their addresses.

We can achieve this by having a different coordinator process that gives this information to the two endpoints before the connection between them is established.

by Boss (13.4k points)
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,647 questions
56,508 answers
195,518 comments
100,941 users