Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.390.742 Times

POE::Component::Proxy::TCP 1.2

  Date Added: September 02, 2010  |  Visits: 758

POE::Component::Proxy::TCP

Report Broken Link
Printer Friendly Version


Product Homepage
Download (95 downloads)



POE::Component::Proxy::TCP is a simplified TCP proxy. SYNOPSIS use POE qw(Component::Proxy::TCP); POE::Component::Proxy::TCP->new (Alias => "ProxyServerSessionAlias", Port => $local_server_port, OrigPort => $remote_server_port, OrigAddress => $remote_server_host, DataFromClient => &data_from_client_handler, DataFromServer => &data_from_server_handler, ); # gets called with data passed from server. # called inside the per client connected session created by PoCo::Server::TCP sub data_from_server_handler { my $server_data = shift; # show obtaining other session info esp per proxy session info }; # gets called with data passed from remote client # sub data_from_client_handler { my $server_data = shift; }; # show obtaining other session info esp per proxy session info # Reserved HEAP variables: $heap->{self} = Proxy object / instance var hash $heap->{self}->losta stuff add documentation [do the per connection ones] EXAMPLE ^ use warnings; use strict; use diagnostics; use POE; use POE::Filter::Stream; use POE::Filter::Line; use POE::Component::Proxy::TCP; $|++; POE::Component::Proxy::TCP->new (Alias => "ProxyServerSessionAlias", Port => 4000, OrigPort => 5000, OrigAddress => "localhost", DataFromClient => sub {print "From client:", shift(), "n";}, DataFromServer => sub {print "From server:", shift(), "n";}, RemoteClientFilter => "POE::Filter::Stream", RemoteServerOutputFilter => "POE::Filter::Stream", RemoteServerInputFilter => "POE::Filter::Stream" ); $poe_kernel->run(); exit 0;.

Requirements: No special requirements
Platforms: Linux
Keyword: Data Libraries Poe Poecomponentproxytcp Programming Server Session Shift Simplified Sub Tcp
Users rating: 0/10

License: Freeware Size: 17.41 KB
USER REVIEWS
More Reviews or Write Review


POE::COMPONENT::PROXY::TCP RELATED
Database Tools  -  EMS Data Import 2011 for SQL Server 3.5.0.1
EMS Data Import 2011 for SQL Server is an useful application taht will help you import data to SQL Server tables from MS Excel 97-2007, MS Access, DBF, XML, RTF, TXT, CSV, MS Word 2007, ODF and HTML files. It provides adjustable import...
 
Libraries  -  POE::Wheel::Audio::Mad 0.3
POE::Wheel::Audio::Mad is a POE Wheel implementing in-session non-blocking mpeg stream playing. SYNOPSIS use POE; use POE::Wheel::Audio::Mad; POE::Session->create( inline_states => { _start => &am_start, message => &am_message } );...
22.53 KB  
Libraries  -  The Freiburg Project 2.0
The Freiburg project is an infrastructure to replace shared libraries with a client/server interface. This system converts a shared library into a "service" using Unix or inet domain sockets for communication. The "service" will be usable by any...
204.8 KB  
Network & Internet  -  mod_spin 1.1.5
mod_spin is an Apache module that provides a simple template language with data replacement capabilities, persistent application and session tracking, database connection pooling, dynamic linking of applications into Apache as shared libraries,...
83.97 KB  
Libraries  -  DDE server plugin 3.7.4.1130
Data export module "DDE server" for Advanced Serial Data Logger is used for data transmit received by Advanced Serial Data Logger picked out from byte flow by parser to other programs on DDE technology. The data export module works as server; it...
 
Misc. Server Tools  -  XML::Atom::Server 0.35
XML::Atom::Server is a Perl module that provides a base class for Atom API servers. It handles all core server processing, both the SOAP and REST formats of the protocol, and WSSE authentication. It can also run as either a mod_perl handler or as...
61.44 KB  
Libraries  -  Willowgarden DP 2
Willowgarden project is a PHP 5 rapid development platform for that provides an extensible environment for developing Web sites featuring support for pretty REST-style URLs, easy security, observable events, a simple object-based "code + view"...
706.56 KB  
Database Tools  -  Palo ETL Server 1.0
Palo ETL Server is a Java based Tool for Extraction, Transformation and Loading of mass data into the Palo OLAP Server. Palo ETL Server is one part of the Palo Suite.
52.36 MB  
Database Tools  -  Database Copier 1.0
Database Copier can access a MySQL server, list its tables, query the table record data, connect to another MySQL server and recreate the database tables with data copied from the first database.If there are destination tables with the same name,...
10 KB  
Network & Internet  -  mod_spambot 0.47
Mod_Spambot is an Apache module which monitors the data being downloaded from a server. When the number of requests for a client exceeds a preset level no more downloads are allowed for a preset time. When this happens the client received a...
27.65 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 3.15.3
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB