| PoE :: Component :: Proxy :: TCP. POE :: Component :: Proxy :: TCPは、単純化されたTCPプロキシです。 |
今すぐダウンロード |
PoE :: Component :: Proxy :: TCP. ランキングとまとめ
- ライセンス:
- Perl Artistic License
- 出版社名:
- Andrew V. Purshottam
- 出版社のWebサイト:
- http://search.cpan.org/andypur/POE-Component-Proxy-TCP-1.2/lib/POE/Component/Proxy/TCP.pm
PoE :: Component :: Proxy :: TCP. タグ
PoE :: Component :: Proxy :: TCP. 説明
PoE :: Component :: Proxy :: TCPは、簡易TCPプロキシです。 POE :: Component :: Proxy :: TCPは、単純化されたTCP Proxy.SynopsisであるPoE QW(Component :: Proxy :: TCP)を使用しています。 POE :: Component :: Proxy :: TCP->新規(エイリアス=> "ProxyServerSessionAlias"、port => $ local_server_port、origport => $ remote_server_host、datafromclient => data_from_client_handler、datafromserver => data_from_server_handler、) ; #サーバーから渡されたデータで呼び出されます。 #poco :: server :: tcp sub data_from_server_handler {My $ server_data = Shift; #表示他のセッション情報Per Proxy Session Info}} #※リモートクライアントから渡されたデータで呼び出されます。#sub data_from_client_handler {My $ server_data = shift; ;; #表示その他のセッション情報を取得するプロキシ事項exp exp exp exp exp exp inpo info#:$ heap - > {self} =プロキシオブジェクト/インスタンスvarhash $ heap - > {self} - > Losta Stuffドキュメントを追加する例^警告を使用する。厳密を使う。診断を使用する。 POEを使う。 POE :: Filter :: Streamを使用する。 POE :: Filter :: Lineを使用してください。 POE :: Component :: Proxy :: TCPを使用する。 $ | ++; POE :: Component :: Proxy :: TCP-> New(Alias => "ProxyServerSessionAlias"、port => 4000、origport => "localhost"、datafromclient => sub {印刷:クライアントから " shift()、 "n";}、datafromserver => sub {"shift()"、shift()、 "n";}、remoteclientFilter => "PoE :: Filter :: Stream"、RemoteserVerOutputFilter => "PoE :: filter :: stream "、remoteserverInputFilter =>" PoE :: filter :: stream "); $ poe_kernel-> run();終了0;要件:・Perlの要件: ・Perl
PoE :: Component :: Proxy :: TCP. 関連ソフトウェア