Find Jobs
Hire Freelancers

Client - Server

$10-30 USD

Terminado
Publicado hace más de 8 años

$10-30 USD

Pagado a la entrega
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.
ID del proyecto: 9002505

Información sobre el proyecto

1 propuesta
Proyecto remoto
Activo hace 8 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
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 en 7 días
4,9 (782 comentarios)
7,2
7,2

Sobre este cliente

Bandera de UNITED STATES
Nashua, United States
4,1
2
Miembro desde nov 30, 2015

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.