12-19-2009
10 More Discussions You Might Find Interesting
1. Programming
I have been trying to write a very basic chat program but at the moment I am having problems getting it to be multiuser as it closes all connections when one client shutsdown. I have also been having problems trying to get the program to display a list of usernames to the clients. I have tried... (0 Replies)
Discussion started by: dooker
0 Replies
2. UNIX for Dummies Questions & Answers
Hello there, just a quick question.....Can someone please explain the concept that enables you to establish a connection using the same userId
Thanx (1 Reply)
Discussion started by: BigTool4u2
1 Replies
3. Shell Programming and Scripting
Hi everybody i need your help on this I have LAN which run Sun microsystem with solaris 7 OS on each of the servers. The LAN was working fine before an interruption of power supply which makes servers to operating as standalone servers. i.e none of the servers have access to one another. How do i... (2 Replies)
Discussion started by: sbmada
2 Replies
4. UNIX for Advanced & Expert Users
Hi,
I'm having a problem with my ssh link to various Sun servers running Solaris 9 and 10 from an Windows XP box running Cygwin/X.
I am using ssh to connect to a number of different Sun servers. My problem is that when editing a remote shell command line with the arrow direction keys the... (0 Replies)
Discussion started by: stv_t
0 Replies
5. Solaris
Hi everyone,
I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies
6. Ubuntu
we designed a primitive operating system for learning basics fundamentals and we created process switching, interrupt/polled IO for device drivers like UART and printers. We accomplish this by using our own tools called SPEDE (for downloading compiled elf image from host ubuntu system that have... (0 Replies)
Discussion started by: bicepjai
0 Replies
7. Solaris
does sftp connection closes by default if it stays idle for a prolonged time ?
i have checked sshd_config files , there is no time out value set. but still the connection closes after certain period of time.
Please help.
verbose mode output :
sftp> debug1: channel 0: free:... (10 Replies)
Discussion started by: chidori
10 Replies
8. Shell Programming and Scripting
Hello Guys ,
I have been working on a script where we are looking to connect a remote Xserver from a Unix box. Once a connection is made , i need to run several commands on remote machine to check various stuffs.
As per my knowledge on unix (which is like a drop in ocean) , i found SSH as a... (7 Replies)
Discussion started by: himanshu sood
7 Replies
9. UNIX for Beginners Questions & Answers
Hi Everyone,
I am trying to send files from Linux to DataPower server using public key based authentication but it's not working as expected and every-time password expecting for sftp transfer.
Can someone please help on this?
Steps I fallowed:
Created keys pair at source server... (4 Replies)
Discussion started by: renukeswar
4 Replies
10. Shell Programming and Scripting
I tried the below steps for telnet command from a remote server:
1. telnet myservice.com 443
2. GET / HTTP/1.0
3. Press enter key twice
Please see the output below: bash-3.2$ hostname
remoteserver1
bash-3.2$ telnet myservice.com 443
Trying 191.172.172.133...
Connected to... (7 Replies)
Discussion started by: mohtashims
7 Replies
LEARN ABOUT DEBIAN
event::rpc::connection
Event::RPC::Connection(3pm) User Contributed Perl Documentation Event::RPC::Connection(3pm)
NAME
Event::RPC::Connection - Represents a RPC connection
SYNOPSIS
Note: you never create instances of this class in your own code, it's only used internally by Event::RPC::Server. But you may request
connection objects using the connection_hook of Event::RPC::Server and then having some read access on them.
my $connection = Event::RPC::Server::Connection->new (
$rpc_server, $client_socket
);
As well you can get the currently active connection from your Event::RPC::Server object:
my $server = Event::RPC::Server->instance;
my $connection = $server->get_active_connection;
DESCRIPTION
Objects of this class represents a connection from an Event::RPC::Client to an Event::RPC::Server instance. They live inside the server and
the whole Client/Server protocol is implemented here.
READ ONLY ATTRIBUTES
The following attributes may be read using the corresponding get_ATTRIBUTE accessors:
cid The connection ID of this connection. A number which is unique for this server instance.
server
The Event::RPC::Server instance this connection belongs to.
is_authenticated
This boolean value reflects whether the connection is authenticated resp. whether the client passed correct credentials.
auth_user
This is the name of the user who was authenticated successfully for this connection.
client_oids
This is a hash reference of object id's which are in use by the client of this connection. Keys are the object ids, value is always 1.
You can get the corresponding objects by using the
$connection->get_client_object($oid)
method.
Don't change anything in this hash, in particular don't delete or add entries. Event::RPC does all the necessary garbage collection
transparently, no need to mess with that.
AUTHORS
Joern Reder <joern at zyn dot de>
COPYRIGHT AND LICENSE
Copyright (C) 2002-2006 by Joern Reder, All Rights Reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2008-10-25 Event::RPC::Connection(3pm)