Find Jobs
Hire Freelancers

Client - Server

$10-30 USD

Slutfört
Publicerad över åtta år sedan

$10-30 USD

Betalning vid leverans
This project is to simulate a system with four temperature servers and a client which retrieves and displays\r\neach servers temperature information.\r\nEach temperature server should send a string to the client indicating its location and the current\r\ntemperature. The information supplied by the server does not have to be real. Each server can set an\r\narbitrary place name as its location string. When a temperature reading is requested, the server returns its\r\nlocation string and a string representing the current temperature (or you could also send a number value).\r\nThe temperature can be a random number.\r\nYour servers should respond to two kinds of messages from your client: temperature request and stop. The\r\nserver quits after receiving a stop message.\r\nThe client simply sends a temperature request message to each server in a round robin fashions for some\r\nnumber of cycles. Then, the client sends the stop message to terminate each server, then the client\r\nterminates. You should add random delays between each server request in order to make your system\r\nrealistic. Your client should access four termperature servers. Each server should listen on an individual\r\nport. For example, you can use ports 4444, 5555, 6666, and 7777 for your four server instances.\r\nYou must use internet UDP sockets for project but you do not have to communicate across machines - all\r\nprocessing can be done on the same machine (i.e., all your servers and client can reside on the same\r\nmachine.) You may use the Eclipse IDE as shown in class to implement and run your system.\r\nEach server should have a variable representing the temperature that is initialized randomly and a variable\r\nwhich is initialized to the location string. You can initialize the location string through the command line or\r\nvia user input if you like.. The server can recalculate the temperature at each call.\r\nYou should write only one server program and only one client program; use either command-line\r\narguments or user input to configure the different instances of servers and clients.
Project ID: 9002505

Om projektet

1 anbud
Distansprojekt
Senaste aktivitet åtta år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
Tilldelad till:
Använd avatar
Hi, I have read the requirements and I would like to do this project if given the opportunity. Let me know if you are interested. Thanks.
$20 USD Om 7 dagar
4,9 (782 omdömen)
7,2
7,2

Om kunden

Flagga för UNITED STATES
Nashua, United States
4,1
2
Medlem sedan nov. 30, 2015

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.