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

'=item' outside of any '=over'

Around line 211:

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

Around line 216:

'=item' outside of any '=over'

Around line 248:

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

Around line 287:

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

Around line 291:

'=item' outside of any '=over'

Around line 303:

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

Around line 362:

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

Around line 367:

'=item' outside of any '=over'

Around line 381:

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

Around line 398:

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

Around line 418:

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

Around line 436:

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

Around line 453:

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

Around line 467:

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

Around line 493:

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

Around line 509:

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

Around line 525:

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

Around line 544:

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

Around line 562:

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

Around line 566:

'=item' outside of any '=over'

Around line 660:

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

Around line 664:

'=item' outside of any '=over'

Around line 744:

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