NAME
Net::ICQ - Communicate with a ICQ server
SYNOPSIS
use Net::ICQ;
$ICQ = Net::ICQ->new();
$ICQ->signon();
DESCRIPTION
Net::ICQ
is a class implementing a simple ICQ client in Perl.
CONSTRUCTOR
- new ( [ USERNAME, PASSWORD [, HOST [, PORT ] ] ])
-
Opens a connection to the ICQ server. Note this does not automatially log you into the server, you'll need to call login().
USERNAME
defaults, in order, to the environment variablesICQUSER
,USER
thenLOGNAME
.PASSWORD
defaults to the contents of the file$HOME/.icqpw
.HOST
andPORT
refer to the remote host to which a ICQ connection is required. Leave them blank unless you want to connect to a server other than Mirabilis.The constructor returns the open socket, or
undef
if an error has been encountered.
OUTGOING - HIGH LEVEL FUNCTIONS
These are correspond with things you might want to do, rather than the actual packets in the protocol.
- login ( );
-
Logs you into the ICQ server, requests saved messages and other standard login-type things.
Search for a user. You can search by UIN, email, nickname or realname.
INCOMING - HIGH LEVEL FUNCTIONS
Copes with responses from the ICQ server.
- incoming_packet_waiting ( );
-
Check if there's something from the server waiting to be processed.
Do stuff.
OUTGOING - LOW LEVEL FUNCTIONS
These correspond directly with the packets available in the ICQ protocol.
- send_ack ( SEQUENCE_NUMBER );
-
Send an ACK to the server, confirming we got packet SEQUENCE_NUMBER.
Just tells the server this connection's still alive. Send it every 2 minutes or so.
Tell the server who we're watching for, by UIN.
Send a message through the server to user UIN.
Send a message through the server to user UIN.
Search for a user by UIN.
Search for a user by UIN.
Request basic information about user UIN.
Request extended information about user UIN.
Update your ICQ status.
Update your ICQ password? What does this do?
INCOMING - LOW LEVEL FUNCTIONS
Copes with responses from the ICQ server at packet level.
MISC FUNCTIONS
These don't correspond with anything much.
AUTHOR
Bek Oberin <gossamer@tertius.net.au>
COPYRIGHT
Copyright (c) 1998 Bek Oberin. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
24 POD Errors
The following errors were encountered while parsing the POD:
- Around line 141:
'=item' outside of any '=over'
- Around line 213:
You forgot a '=back' before '=head1'
- Around line 218:
'=item' outside of any '=over'
- Around line 235:
=pod directives shouldn't be over one line long! Ignoring all 2 lines of content
- Around line 268:
You forgot a '=back' before '=head1'
- Around line 272:
'=item' outside of any '=over'
- Around line 285:
=pod directives shouldn't be over one line long! Ignoring all 2 lines of content
- Around line 354:
You forgot a '=back' before '=head1'
- Around line 359:
'=item' outside of any '=over'
- Around line 373:
=pod directives shouldn't be over one line long! Ignoring all 2 lines of content
- Around line 390:
=pod directives shouldn't be over one line long! Ignoring all 2 lines of content
- Around line 410:
=pod directives shouldn't be over one line long! Ignoring all 2 lines of content
- Around line 428:
=pod directives shouldn't be over one line long! Ignoring all 2 lines of content
- Around line 445:
=pod directives shouldn't be over one line long! Ignoring all 2 lines of content
- Around line 459:
=pod directives shouldn't be over one line long! Ignoring all 2 lines of content
- Around line 485:
=pod directives shouldn't be over one line long! Ignoring all 2 lines of content
- Around line 501:
=pod directives shouldn't be over one line long! Ignoring all 2 lines of content
- Around line 517:
=pod directives shouldn't be over one line long! Ignoring all 2 lines of content
- Around line 536:
=pod directives shouldn't be over one line long! Ignoring all 2 lines of content
- Around line 554:
You forgot a '=back' before '=head1'
- Around line 558:
'=item' outside of any '=over'
- Around line 607:
You forgot a '=back' before '=head1'
- Around line 611:
'=item' outside of any '=over'
- Around line 676:
You forgot a '=back' before '=head1'