名前¶ POE::Component::Client::TCP - a simplified TCP client POE::Component::Client::TCP - 単純化されたTCPクライアント 概要¶ use POE qw(Component::Client::TCP); # 基本的な使用方法。 POE::Component::Client::TCP->new ( RemoteAddress => "127.0.0.1", RemotePort => "chargen", Domain => AF_INET, # オプショナル。 Alias => $session_alias # オプショナル。 ServerInput => sub { my $input = $_[ARG0]; print "from server: $input\n"; } ); # 完全な使用方法。 P