Programming-Network

From DevRandom

Jump to: navigation, search

Client server using C and the socket API [Description] [Source(Zip)]


Multicast Simulation Client & Server This project implements an Interface for a Multicast Server and Client using the java.net package and UDP as the underlying protocol. Clients connect to the a server using the Server IP and the default port number and can join any one of the four groups available and send messages to the members of that group only. The server is implemented using UDP and it maintains information about the client groups and broadcasts of messages to all the clients in a group. Thus the server simulates a Multicast Server by sending the message to all severs. The clients and the server use a pre-defined message format to exchange information. See link below for details and source code

[Detailed Docs]


Simple UDP Client Server. Echoes back the line that client sends [UDPSERVER-1] [UDPCLIENT-1]


Simple UDP Client Server Receives a file name from the client. Sendss the file contents back to the client [UDPSERVER-2] [UDPCLIENT-2]


UDP Server with simulated un-reliability For each client, the server will read a file(random.txt) that consists of a list of non-negative integers. If the ith integer in the list has value j,then the ith request message from that specific client will have to be retransmitted j times.Therefore the client is forced to send j times. The server's replies are simple: they only contain an integer that denotes the sequence number of the request message the reply is for. It contains the Message number and the Attempt number for that message which succeeded Client read a line from the command line and sends it to the server Sets timeout to client_timeout and retransmits if server dosent reply Client works in a stop and go fashion , it dosent send another request till it receives a reply.

[UDPSERVER-3] [UDPCLIENT-3]


Multicast Peer Example [Multicast Peer]

Views
Personal tools
About Me

Blog

Contact Me

Resume

Photos