02-05-2013
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I'm trying to use Exceed 7.1 to connect to a Solaris server (T2000, running Solaris 10). What are the settings that should be specified on Solaris to enable this connectivity to happen? I'm getting connection issues. Is there a type of service that needs to be running?
If sombody can give a... (1 Reply)
Discussion started by: Sunguy222
1 Replies
2. Solaris
Hey All!
Today I am getting an error with my NIS client
From what I understand, my server is running properly...
on my client side..
online 2:01:12 svc:/network/nis/client:default
# ps -ef |grep ypbind
root 2745 1 0 02:01:12 ? 0:00... (12 Replies)
Discussion started by: Keepcase
12 Replies
3. UNIX for Dummies Questions & Answers
Hello
I need assistance with a bash script that needs to tell me whether in the last "x" days (which is a variable) anyone connected to the xxxx IP (which is another variable).
Thank you! (1 Reply)
Discussion started by: Melchiah
1 Replies
4. Solaris
Installed Sun Solaris 10 (5/09) on vmware 6.0 but system is not connecting to internet.
when I check "ipconfig /all" I do not get any DNS Suffix name -- neither for vmnet1 and vmnet8 nor for local ethernet IP. Default gateways are 192.168.1.1 and 192.168.1.2
1. Created /etc/resolv.conf
domain... (1 Reply)
Discussion started by: johnjerry
1 Replies
5. Red Hat
Hello i have CentOS installed on vmware , few days ago every thing was working fine. today every time im connect with putty to the CentOs server after few minutes it disconnect me , how can i find what is the reason ? (5 Replies)
Discussion started by: umen
5 Replies
6. Ubuntu
I have tried every possibilty that I can think of and cant get rdesktop using single application mode to work. I have tried with paths and without.
Testing other apps:
rdesktop -u username -p password -d localdomain.local -g 1024x768 -s 'notepad.exe' 10.7.0.14
rdesktop -g 1024x768... (0 Replies)
Discussion started by: metallica1973
0 Replies
7. UNIX for Advanced & Expert Users
Hi guys,
We are receiving fatal error while trying to use lftp client to connect to an external server using ftps protocol. It seems to connect but when I issue 'ls' command, it fails with below error:
$ lftp -u user,pwd ftps://<URL>:990/Submit
lftp user@URL:~> ls
ls: Fatal error:... (0 Replies)
Discussion started by: nice_chapp
0 Replies
8. UNIX for Advanced & Expert Users
I have a RHEL6 VM that requires the use of remote storage using iSCSI and XFS for the mount point. Here's the issue:
With XFS you can't use the _netdev option for your mount point (pause for network) so my mount point doesn't mount properly because the network isn't up yet. I've moved the... (3 Replies)
Discussion started by: ksfolsom
3 Replies
9. UNIX for Advanced & Expert Users
We have several ESXI 5.0 servers in our environment and am really tired of firing up my windows 7 VM and using Vsphere client to be able to see the "VM's". I looked into using VMware View Client for linux and have never been able to get it to work. When I connect, I get:
Untrust View Connection:... (0 Replies)
Discussion started by: metallica1973
0 Replies
LEARN ABOUT DEBIAN
poe::component::connection::keepalive
POE::Component::Connection::Keepalive(3pm) User Contributed Perl Documentation POE::Component::Connection::Keepalive(3pm)
NAME
POE::Component::Connection::Keepalive - a wheel wrapper around a kept-alive socket
VERSION
version 0.271
SYNOPSIS
See the SYNOPSIS for POE::Component::Client::Keepalive for a
complete working example.
my $connection = $response->{connection};
$heap->{connection} = $connection;
$connection->start( InputEvent => "got_input" );
delete $heap->{connection}; # When done with it.
DESCRIPTION
POE::Component::Connection::Keepalive is a helper class for POE::Component::Client::Keepalive. It wraps managed sockets, providing a few
extra features.
Connection objects free their underlying sockets when they are DESTROYed. This eliminates the need to explicitly free sockets when you are
done with them.
Connection objects manage POE::Wheel::ReadWrite objects internally, saving a bit of effort.
new
Creates a new POE::Component::Connection::Keepalive instance. It accepts two parameters: A socket handle (socket) and a reference to a
POE::Component::Client::Keepalive object to manage the socket when the connection is destroyed.
my $conn = POE::Component::Connection::Keepalive->new(
socket => $socket_handle,
manager => $poe_component_client_keepalive,
);
new() is usually called by a POE::Component::Client::Keepalive object.
start
Starts a POE::Wheel::ReadWrite object. All parameters except Handle for start() are passed directly to POE::Wheel::ReadWrite's
constructor. Handle is provided by the connection object. start() returns a reference to the new POE::Wheel::ReadWrite object, but it
is not necessary to save a copy of that wheel. The connection object keeps a copy of the reference internally, so the wheel will persist
as long as the connection does. The POE::Wheel::ReadWrite object will be DESTROYed when the connection object is.
# Asynchronous connection from Client::Keepalive.
sub handle_connection {
my $connection_info = $_[ARG0];
$_[HEAP]->{connection} = $connection_info->{connection};
$heap->{connection}->start(
InputEvent => "got_input",
ErrorEvent => "got_error",
);
}
# Stop the connection (and the wheel) when an error occurs.
sub handle_error {
delete $_[HEAP]->{connection};
}
wheel
Returns a reference to the internal POE::Wheel::ReadWrite object, so that methods may be called upon it.
$heap->{connection}->wheel()->pause_input();
close
Closes the connection immediately. Calls shutdown_input() and shutdown_output() on the wheel also.
SEE ALSO
POE POE::Component::Client::Keepalive POE::Wheel::ReadWrite
BUGS
None known.
LICENSE
This distribution is copyright 2004-2009 by Rocco Caputo. All rights are reserved. This distribution is free software; you may
redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Rocco Caputo <rcaputo@cpan.org>
Special thanks to Rob Bloodgood.
perl v5.14.2 2012-05-15 POE::Component::Connection::Keepalive(3pm)