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 29.891.786 Times

POE::Component::Proxy::TCP 1.2

  Date Added: September 02, 2010  |  Visits: 692

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  
Games  -  Dynamic 3D Network Platform 0.1
Dynamic 3D Network Platform is a 3d platform, that streams all needed data over network from a server to a client, and therefor is universal useable. For the developer ONE server for all OS's and for user ONE client for all games/applications.
71.68 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
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...
2.73 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