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 [, STATUS [, 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 variables ICQUSER, USER then LOGNAME.

PASSWORD defaults to the contents of the file $HOME/.icqpw.

HOST and PORT 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.

receive_login_reply ( );

Receive the login packet from the ICQ socket and respond to it appropriately.

MISC FUNCTIONS

These don't correspond with anything much.

version ( );

Returns version information for this module.

dword_2_chars ( DWORD )

Returns the passed DWORD converted to Intel endian character sequence.

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 210:

You forgot a '=back' before '=head1'

Around line 215:

'=item' outside of any '=over'

Around line 246:

=pod directives shouldn't be over one line long! Ignoring all 2 lines of content

Around line 285:

You forgot a '=back' before '=head1'

Around line 289:

'=item' outside of any '=over'

Around line 301:

=pod directives shouldn't be over one line long! Ignoring all 2 lines of content

Around line 357:

You forgot a '=back' before '=head1'

Around line 362:

'=item' outside of any '=over'

Around line 376:

=pod directives shouldn't be over one line long! Ignoring all 2 lines of content

Around line 393:

=pod directives shouldn't be over one line long! Ignoring all 2 lines of content

Around line 413:

=pod directives shouldn't be over one line long! Ignoring all 2 lines of content

Around line 431:

=pod directives shouldn't be over one line long! Ignoring all 2 lines of content

Around line 448:

=pod directives shouldn't be over one line long! Ignoring all 2 lines of content

Around line 462:

=pod directives shouldn't be over one line long! Ignoring all 2 lines of content

Around line 488:

=pod directives shouldn't be over one line long! Ignoring all 2 lines of content

Around line 504:

=pod directives shouldn't be over one line long! Ignoring all 2 lines of content

Around line 520:

=pod directives shouldn't be over one line long! Ignoring all 2 lines of content

Around line 539:

=pod directives shouldn't be over one line long! Ignoring all 2 lines of content

Around line 557:

You forgot a '=back' before '=head1'

Around line 561:

'=item' outside of any '=over'

Around line 643:

You forgot a '=back' before '=head1'

Around line 647:

'=item' outside of any '=over'

Around line 726:

You forgot a '=back' before '=head1'