Graham Ollis > AnyEvent-Ident-0.06 > AnyEvent::Ident::Transaction

Download:
AnyEvent-Ident-0.06.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.06   Source  

NAME ^

AnyEvent::Ident::Transaction - Simple asynchronous ident transaction

VERSION ^

version 0.06

METHODS ^

$tx->req

Returns the request object for the transaction (an instance of AnyEvent::Ident::Request).

$tx->reply_with_user( [ $os ], $username )

Reply to the client with the given username and operating system. If $os is not specified then "OTHER" is used for the operating system. The operating system should be one specified in RFC-952 under SYSTEM NAMES, or OTHER. Common system names include UNIX, WIN32 and VMS. OTHER should be used when the identification ($username) does not map directly to a user or email address on the server system. Here are a couple of examples where OTHER should be used:

$tx->reply_with_error( $error_type )

Reply to the client with the given error. Should be one of

$tx->remote_port

Returns the remote TCP port being used to make the request.

$tx->local_port

Returns the local TCP port being used to make the request.

$tx->remote_address

Returns the IP address from whence the ident request is coming from.

AUTHOR ^

Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Graham Ollis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: