7 More Discussions You Might Find Interesting
1. What is on Your Mind?
Well, it's not working out.... !
After spending over a year coding in C# and Unity 3D creating a new way to visualize cyberspace, I recently purchased a fully maxed out 12-core CPU MacPro with 64 GB of RAM so I could gain performance by utilizing the 12-cores (24 virtual cores) waiting for Unity... (1 Reply)
Discussion started by: Neo
1 Replies
2. What is on Your Mind?
I do have a question about the great cyber wall of certain countries, like the UK for example. For years I just fetched once a week a public podcast that recently answered "notukerror", by chance I read just this weekend on slashdot about this topic. Does this mean the efforts enhanced by the EME... (4 Replies)
Discussion started by: 1in10
4 Replies
3. SuSE
So I've been tasked with creating a shell script to run in a cron every few minutes to check duplex settings on my eth0 nic card. I would like for the server to send a wall message to whoever is on the console or in a terminal session. Below is what I have so far.
0,10,20,30,40,50 * * * * ... (1 Reply)
Discussion started by: lutador72
1 Replies
4. Shell Programming and Scripting
Hi all,
i'm trying to generate a "pop up window" incorporating either the write or wall command or both.
Is such a thing possible ?
thanks
simon2000 (2 Replies)
Discussion started by: simon2000
2 Replies
5. UNIX for Dummies Questions & Answers
is there a command to send all terminals a message. i tired wall, but it only sends the message to who ever is logged in at a terminal. i need a command to send to every terminal no matter if someone is logged in or not.
Thanks!
-The DJ (11 Replies)
Discussion started by: djatwork
11 Replies
6. UNIX for Dummies Questions & Answers
let's say in my office i have 20 networked sun boxes named host1 through host20. i am currently logged in as root at some random machine, which we will say host13 for this scenario's sake. now, is there any way i can send a text message of some sort over the whole network to all logged in... (1 Reply)
Discussion started by: AMisledDrummer
1 Replies
7. UNIX for Dummies Questions & Answers
I would like to know when using the wall command can I send a message to a specific user that is logged in.
Thank you (1 Reply)
Discussion started by: nascar.fan
1 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)