TestPOEServerTCP 116

TestPOEServerTCP 116
  • Downloads: 222
  • Requirements:
  • Size:
  • Licence:
  • Version: 1.16
  • Added At: 2012-29-05
  • Publisher Site:



TestPOEServerTCP 116

Share

The Test::POE::Server::TCP module is a POE component that provides a TCP server framework for inclusion in client component test cases, instead of having to roll your own.Once registered with the component, a session will receive events related to client connects, disconnects, input and flushed output. Each of these events will refer to a unique client ID which may be used in communication with the component when sending data to the client or disconnecting a client connection.SYNOPSISA very simple echo server with logging of requests by each client: use strict; use POE; use Test::POE::Server::TCP; POE::Session->create( package_states => [ 'main' => [qw( _start testd_connected testd_disconnected testd_client_input )], ], );  $poe_kernel->run(); exit 0;  
The Test::POE::Server::TCP module is a POE component that provides a TCP server framework for inclusion in client component test cases, instead of having to roll your own.Once registered with the component, a session will receive events related to client connects, disconnects, input and flushed output. Each of these events will refer to a unique client ID which may be used in communication with the component when sending data to the client or disconnecting a client connection.SYNOPSISA very simple echo server with logging of requests by each client: use strict; use POE; use Test::POE::Server::TCP; POE::Session->create( package_states => [ 'main' => [qw( _start testd_connected testd_disconnected testd_client_input )], ], );  $poe_kernel->run(); exit 0;   �. you can free download TestPOEServerTCP 116 now.
Soft85 only provide legal software, please help us keeping pur site legal, if you think this page is violating copyrights please let us know by clicking here Here






comments powered by Disqus

Download TestPOEServerTCP 116 _FREE_