Roncek - Protocol Specification Mark Danso-Amoako Kashif...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Protocol Specification Mark Danso-Amoako Kashif Imran Jason Roncek Ahmad El Kouche COP 5615 Project #3.1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Server Discovery, User List, and Neighbor List When a new server initializes, it will broadcast a message on a predefined multicast address and port number. The message will include the server’s alias. [new] [server-alias] The server also generates a random number between 1 and some max n. This will be the number of neighbors this server can have. When other online servers receive the [new] command, they will reply back, via multicast, one of two messages. If there is a name collision, the following message will be sent: [alias-conflict] [server-alias] If this message is received, the server with the same server-alias will choose a new alias name and then resend the [new] message. If an existing server receives the [new] message and there is no name conflict, the existing server will broadcast the following message: [exists] [server-alias] [IP] [Port] [N] The server-alias, IP, and port all pertain to the existing server who is responding to the
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/22/2012 for the course COP 5615 taught by Professor Staff during the Fall '08 term at University of Florida.

Page1 / 4

Roncek - Protocol Specification Mark Danso-Amoako Kashif...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online