GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  POE::COMPONENT::IRC::COOKBOOK::DISCONNECTING (3)

.ds Aq ’

NAME

POE::Component::IRC::Cookbook::Disconnecting - How to disconnect gracefully with PoCo-IRC

CONTENTS

SYNOPSIS

Shutting down an IRC bot can be quick and messy, or slow and graceful.

DESCRIPTION

There are two ways you can shut down an IRC bot/client. The quick and dirty way is rather simple:



 exit;



It exits the program, shutting down the socket, and everybody online sees yet another Connection reset by peer or Remote end closed the socket or something.

As of version 6.50, all you need to do in order to shut down gracefully is to send a shutdown event to the IRC component. It will make sure your quit message (if any) gets delivered, and will forcibly disconnect if there are any problems (faulty server or network issues). After doing this, it will unregister all sessions and clean up after itself.

If you want to do something more elaborate on your own, take a look at the following documentation: logged in, connected, quit, disconnect, and unregister.

AUTHOR

Rocco Caputo and Hinrik Oern Sigurd`sson.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 POE::COMPONENT::IRC::COOKBOOK::DISCONNECTING (3) 2014-06-28

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.