已取消

client server

1. Client/Server System

You have one server and 5 client processes. Server and clients should be on different machines. There are a list of 5 items to be bid from clients.

Initially, each client decides its maximum bid price for all items.

Operations:

* *Bidding Initiation*: periodically (every minute), each process initiates a bidding procedure for one randomly chosen item by sending *item number* and *price* to the server. The offered price can be chosen randomly between 0 and *max_price*.

* *Notification*: Upon the receipt of a bidding, the server broadcasts to all processes the bidding item and price.

* *Bidding follow-up*: Upon the receipt of a notification, a process other than the initiator will decide to compete or give up. If the price is higher than the maximum price initially set for this item, it will give up by keeping silent. Otherwise, it waits for a short random time (0-10 seconds) and follows up by adding the price by 5-20% and sends to the server.

* *Bidding conclusion*: After notifying all processes, the server starts a timer of 30 seconds. If no new bidding received for the same item, the most recent bidder wins. The server simply sends a congratulation message to the winner.

* *Printing*: (1) bidding price from any process. (2) which processes have given up. (3) which process wins for which item.

* All processes run continuously for a long time.

* ***Bonus***: GUI (10%).

**Example**: 5 processes bidding for a book with maximum prices being $40, $50, $60, $65, and $45, respectively.

If process 1 chooses $25, process 2 offers 27.5, process 3 offers 31.25, so on. When the price reaches $40 or higher, process 1 will give up. Eventually, process 4 wins.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

windows xp

技能: 一切, C# 编程, 工程, MySQL, PHP, 软件构架, 软件测试

查看更多: message to client, follow up message, compete software, client-server, form client server, silent server, sending price list system, Book keeping software, notification server client source code, receipt book, client notification, client client, windows server web 2008, notification server php, client notification system, printing receipt windows, Book keeping work, client printing, notification server, notification server client, windows web server 2008, silent printing php, server client notification, adding gui, client php server

About the Employer:
( 0 reviews ) San Jose, United States

项目ID: #3368122

12名威客为此工作的平均竞标价是$29

timtash

See private message.

$34 USD 在21天内
(97条评论)
6.3
izharuislam

See private message.

$34 USD 在21天内
(31条评论)
4.6
chandreshkumarlx

See private message.

$34 USD 在21天内
(24条评论)
4.3
bnmurthy

See private message.

$17 USD 在21天内
(38条评论)
3.3
DorothySoft

See private message.

$34 USD 在21天内
(6条评论)
3.5
classiccodersvw

See private message.

$34 USD 在21天内
(13条评论)
2.7
AGNasser

See private message.

$29.75 USD 在21天内
(3条评论)
2.6
SoftAX

See private message.

$34 USD 在21天内
(7条评论)
2.2
lorinkoz

See private message.

$8.5 USD 在21天内
(2条评论)
0.3
yogeshrawat

See private message.

$17 USD 在21天内
(0条评论)
0.0
double07vw

See private message.

$34 USD 在21天内
(0条评论)
0.0
ITZone1

See private message.

$34 USD 在21天内
(1条评论)
0.0