Find Jobs
Hire Freelancers

Client - Server

$10-30 USD

完了済み
投稿日: 8年以上前

$10-30 USD

完了時にお支払い
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: 9002505

プロジェクトについて

1個の提案
リモートプロジェクト
アクティブ 8年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
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 7日以内
4.9 (782 レビュー)
7.2
7.2

クライアントについて

UNITED STATESのフラグ
Nashua, United States
4.1
2
メンバー登録日:11月 30, 2015

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。