Net::Server::NonBlockingAn object interface to non-blocking I/O server engine | |
Download |
Net::Server::NonBlocking Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Komtanoo Pinpimai
- Publisher web site:
Net::Server::NonBlocking Tags
Net::Server::NonBlocking Description
An object interface to non-blocking I/O server engine You can use this module to establish non-blocking style TCP servers without being messy with the hard monotonous routine work.Net::Server::NonBlocking is a Perl module, a state-of-the-art of non-blocking server, it consumes some additional memories and executes some extra lines to support features which can be consider wasting if you do not plan to use. However, at present, programming time is often more expensive than RAM and CPU clocks.SYNOPSIS use Net::Server::NonBlocking; $|=1; $obj=Net::Server::NonBlocking->new(); $obj->add({ server_name => 'tic tac toe', local_port => 10000, timeout => 60, delimiter => "\n", on_connected => \&ttt_connected, on_disconnected => \&ttt_disconnected, on_recv_msg => \&ttt_message }); $obj->add({ server_name => 'chess', local_port => 10001, timeout => 120, delimiter => "\r\n", on_connected => \&chess_connected, on_disconnected => \&chess_disconnected, on_recv_msg => \&chess_message }); $obj->start; Requirements: · Perl
Net::Server::NonBlocking Related Software