#!/usr/bin/perl use lib qw( lib ); use Sprocket qw( Server Plugin::Simple Plugin::EventTest ); use POE; my %opts = ( LogLevel => 4, TimeOut => 0, # MaxConnections => 10000, ); Sprocket::Server->spawn( %opts, Name => 'Test Server', ListenPort => 8000, ListenAddress => '0.0.0.0', Plugins => [ { Plugin => Sprocket::Plugin::Simple->new( event_plugin => Sprocket::Plugin::EventTest->new(), ), Priority => 0, }, ], ); $poe_kernel->run(); 1;