10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
i would like to enable all operations/connections to use a proxy server in a redhat server ,
witch file should i config to get this for all conections ....
Thanks (0 Replies)
Discussion started by: prpkrk
0 Replies
2. UNIX for Dummies Questions & Answers
I wrote scipts that automated file downloads from sFTP server. Not long ago a proxy server was introduce into the network, and my script failed.
How do you specify proxy server in dos/UNIX scripts?
:confused:
Hirsi (2 Replies)
Discussion started by: hdirir
2 Replies
3. IP Networking
Hi,
I am involved in a project on Debian. One of my requirement is to route an IP packet in my application to a proxy server and receive the reply from the proxy server as an IP packet. My application handles data at the IP frame level. My application creates an IP packet(with all the necessary... (0 Replies)
Discussion started by: Rajesh_BK
0 Replies
4. UNIX for Advanced & Expert Users
Hi I am posting this in this area because I couldn't find a better place.
I am trying to make exact copies of my disk that I use in an old DEC3000.
I loaded the one disk then used dd
dd if=/dev/rrz0c of=/dev/rrz1c
I started this a 6pm last night here in Wales.
It is now 2pm the next day,... (4 Replies)
Discussion started by: mndavies
4 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I need to know if it is possible to install a Digital Unix 4.0 in a vmware. Is this possible at all?
thank you
trstn (1 Reply)
Discussion started by: trstn
1 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I am trying to set up a modem (using SLIP) on a Digital (well it used to be) AlphaStation running Digital Unix V7E. I assume that I have to put an entry into /remote but can anyone suggest the contents and formatting. Apologies for being so naive but I'm an ex VMS person.
Thanks and... (1 Reply)
Discussion started by: Roslynlea
1 Replies
7. UNIX for Dummies Questions & Answers
Hi All
Im currntly working on a digital unix machine and must know what is the amount of MB\GB instaled ( i do not have physical access to the machine).
can anyone help me here?
10x!!!!!!!!!!!!!!! (1 Reply)
Discussion started by: dindan100
1 Replies
8. UNIX for Dummies Questions & Answers
I'm trying to get a Unix server on the internet (mostly for DNS requests) but this server is on a network behind a Proxy server. How can I configure my unix server that he will pass the proxy server for internet requests? (2 Replies)
Discussion started by: RSlegers
2 Replies
9. IP Networking
I'm trying to set up an IP address on a Digital Unix box. I would like to know the commands in order to do so.
thanks (5 Replies)
Discussion started by: lavelyj
5 Replies
10. UNIX for Dummies Questions & Answers
Hi guyes ,,,,
One particular server (Operating system is Digital Unix OSFI) only responds to http requestes by Internet Explorer, and display empty page when the same page is hit through Netscape Navigator :)
any help ?
good luck (2 Replies)
Discussion started by: t_zone
2 Replies
Net::Proxy::Connector(3pm) User Contributed Perl Documentation Net::Proxy::Connector(3pm)
NAME
Net::Proxy::Connector - Base class for Net::Proxy protocols
SYNOPSIS
#
# template for the zlonk connector
#
package Net::Proxy::Connector::zlonk;
use strict;
use Net::Proxy::Connector;
our @ISA = qw( Net::Proxy::Connector );
# here are the methods you need to write for your connector
# if it can be used as an 'in' connector
sub listen { }
sub accept_from { }
# if it can be used as an 'out' connector
sub connect { }
# to process data
sub read_from { }
sub write_to { }
1;
DESCRIPTION
"Net::Proxy::Connector" is the base class for all specialised protocols used by "Net::Proxy".
METHODS
Class methods
The base class provides the following methods:
new()
Instance methods
set_proxy( $proxy )
Define the proxy that "owns" the connector.
get_proxy()
Return the "Net::Proxy" object that "owns" the connector.
is_in()
Return a boolean value indicating if the "Net::Proxy::Connector" object is the "in" connector of its proxy.
is_out()
Return a boolean value indicating if the "Net::Proxy::Connector" object is the "out" connector of its proxy.
new_connection_on( $socket )
This method is called by "Net::Proxy" to handle incoming connections, and in turn call "accept_from()" on the 'in' connector and
"connect()" on the 'out' connector.
raw_read_from( $socket )
This method can be used by "Net::Proxy::Connector" subclasses in their "read_from()" methods, to fetch raw data on a socket.
raw_write_to( $socket, $data )
This method can be used by "Net::Proxy::Connector" subclasses in their "write_to()" methods, to send raw data on a socket.
raw_listen( )
This method can be used by "Net::Proxy::Connector" subclasses in their "listen()" methods, to create a listening socket on their "host"
and "port" parameters.
raw_accept_from( $socket )
This method can be used internaly by "Net::Proxy::Connector" subclasses in their "accept_from()" methods, to accept a newly connected
socket.
Subclass methods
The following methods should be defined in "Net::Proxy::Connector" subclasses:
Initialisation
init()
This method initalise the connector.
Processing incoming/outgoing data
read_from( $socket )
Return the data that was possibly decapsulated by the connector.
write_to( $socket, $data )
Write $data to the given $socket, according to the connector scheme.
"in" connector
listen()
Initiate listening sockets and return them.
This method can use the "raw_listen()" method to do the low-level listen call.
accept_from( $socket )
$socket is a listening socket created by "listen()". This method returns the connected socket.
This method can use the "raw_accept_from()" method to do the low-level accept call.
"out" connector
connect()
Return a socket connected to the remote server.
AUTHOR
Philippe 'BooK' Bruhat, "<book@cpan.org>".
COPYRIGHT
Copyright 2006 Philippe 'BooK' Bruhat, All Rights Reserved.
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2009-10-18 Net::Proxy::Connector(3pm)