perl multi-threading/forking server model

Виконано Опубліковано %project.relative_time Оплачується при отриманні
Виконано Оплачується при отриманні

I'd require server code in Perl script basically act as a standalone multi-threading/forking server. I just need the framework. The server should listen to a specific port for specific address or any address.

The part where the communication between client/server will be simple too, such as the following code :

while ( <$new_sock>) {

if (/^quit/i) { last; }

else {

print $new_sock "+ ($$) $_";

# or do whatever... and post back to client...

}

}

The client will exit and disconnect from the server when "quit" command entered.

The server should also :

(a) Limit the number of simultaneous connection per IP address

(b) Timeout: total time limit the server allow per connection, any connection beyond the time limit should be disconnected

(c) Update/maintain information of connected child pid in a text file

(d) Exit gracefully: remove all connecting children when parent exits

There should not be any defunct or zombie processes around. Process must have the correct parent pid.

To run the script, will not require any root access.

## 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

Linux

Техніка MySQL Perl PHP Архітектура ПЗ Тестування ПЗ

ID Проекту: #3593228

Про проект

1 заявка Дистанційний проект Остання активність Jun 23, 2006

Доручено:

jazzmusicman

See private message.

$126.65 USD за 4 дні(-в)
(31 відгуків(-и))
4.3