POE::Component::Server::IRC 1.05
Sponsored Links
POE::Component::Server::IRC 1.05 Ranking & Summary
File size:
0.084 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1065
Date added:
2006-11-28
Publisher:
Chris Williams
POE::Component::Server::IRC 1.05 description
POE::Component::Server::IRC is a fully event-driven networkable IRC server daemon module.
SYNOPSIS
# A fairly simple example:
use strict;
use warnings;
use POE qw(Component::Server::IRC);
my %config = (
servername => simple.poco.server.irc,
nicklen => 15,
network => SimpleNET
);
my $pocosi = POE::Component::Server::IRC->spawn( config => %config );
POE::Session->create(
package_states => [
main => [qw(_start _default)],
],
heap => { ircd => $pocosi },
);
$poe_kernel->run();
exit 0;
sub _start {
my ($kernel,$heap) = @_[KERNEL,HEAP];
$heap->{ircd}->yield( register );
# Anyone connecting from the loopback gets spoofed hostname
$heap->{ircd}->add_auth( mask => *@localhost, spoof => m33p.com, no_tilde => 1 );
# We have to add an auth as we have specified one above.
$heap->{ircd}->add_auth( mask => *@* );
# Start a listener on the standard IRC port.
$heap->{ircd}->add_listener( port => 6667 );
# Add an operator who can connect from localhost
$heap->{ircd}->add_operator( { username => moo, password => fishdont } );
undef;
}
sub _default {
my ( $event, $args ) = @_[ ARG0 .. $#_ ];
print STDOUT "$event: ";
foreach (@$args) {
SWITCH: {
if ( ref($_) eq ARRAY ) {
print STDOUT "[", join ( ", ", @$_ ), "] ";
last SWITCH;
}
if ( ref($_) eq HASH ) {
print STDOUT "{", join ( ", ", %$_ ), "} ";
last SWITCH;
}
print STDOUT "$_ ";
}
}
print STDOUT "n";
return 0; # Dont handle signals.
}
POE::Component::Server::IRC is a POE component which implements an IRC server ( also referred to as an IRC daemon or IRCd ). It should be compliant with the pertient IRC RFCs and is based on reverse engineering Hybrid IRCd behaviour with regards to interactions with IRC clients and other IRC servers.
Yes, thats right. POE::Component::Server::IRC is capable of linking to form IRC networks. It supports the TS5 server to server protocol and has been tested with linking to Hybrid-7 based networks. It should in theory work with any TS5-based IRC network.
POE::Component::Server::IRC also has a services API, which enables one to extend the IRCd to create IRC Services. This is fully event-driven ( of course =] ). There is also a Plugin system, similar to that sported by POE::Component::IRC.
SYNOPSIS
# A fairly simple example:
use strict;
use warnings;
use POE qw(Component::Server::IRC);
my %config = (
servername => simple.poco.server.irc,
nicklen => 15,
network => SimpleNET
);
my $pocosi = POE::Component::Server::IRC->spawn( config => %config );
POE::Session->create(
package_states => [
main => [qw(_start _default)],
],
heap => { ircd => $pocosi },
);
$poe_kernel->run();
exit 0;
sub _start {
my ($kernel,$heap) = @_[KERNEL,HEAP];
$heap->{ircd}->yield( register );
# Anyone connecting from the loopback gets spoofed hostname
$heap->{ircd}->add_auth( mask => *@localhost, spoof => m33p.com, no_tilde => 1 );
# We have to add an auth as we have specified one above.
$heap->{ircd}->add_auth( mask => *@* );
# Start a listener on the standard IRC port.
$heap->{ircd}->add_listener( port => 6667 );
# Add an operator who can connect from localhost
$heap->{ircd}->add_operator( { username => moo, password => fishdont } );
undef;
}
sub _default {
my ( $event, $args ) = @_[ ARG0 .. $#_ ];
print STDOUT "$event: ";
foreach (@$args) {
SWITCH: {
if ( ref($_) eq ARRAY ) {
print STDOUT "[", join ( ", ", @$_ ), "] ";
last SWITCH;
}
if ( ref($_) eq HASH ) {
print STDOUT "{", join ( ", ", %$_ ), "} ";
last SWITCH;
}
print STDOUT "$_ ";
}
}
print STDOUT "n";
return 0; # Dont handle signals.
}
POE::Component::Server::IRC is a POE component which implements an IRC server ( also referred to as an IRC daemon or IRCd ). It should be compliant with the pertient IRC RFCs and is based on reverse engineering Hybrid IRCd behaviour with regards to interactions with IRC clients and other IRC servers.
Yes, thats right. POE::Component::Server::IRC is capable of linking to form IRC networks. It supports the TS5 server to server protocol and has been tested with linking to Hybrid-7 based networks. It should in theory work with any TS5-based IRC network.
POE::Component::Server::IRC also has a services API, which enables one to extend the IRCd to create IRC Services. This is fully event-driven ( of course =] ). There is also a Plugin system, similar to that sported by POE::Component::IRC.
POE::Component::Server::IRC 1.05 Screenshot
Advertisements
POE::Component::Server::IRC 1.05 Keywords
IRC
POE
STDOUT
IRC 1.05
IRCd
SWITCH
irc server daemon
IRC server
server daemon
server
print
fully
daemon
Event-driven
networkable
POE::Component::Server::IRC
Bookmark POE::Component::Server::IRC 1.05
POE::Component::Server::IRC 1.05 Copyright
WareSeeker periodically updates pricing and software information of POE::Component::Server::IRC 1.05 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of POE::Component::Server::IRC 1.05 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
POE::Component::Server::Syslog is a Perl module with syslog services for POE. Free Download
POE::Component::Server::HTTP is a foundation of a POE HTTP Daemon. Free Download
POE::Component::OSCAR is a POE component for the Net::OSCAR module. Free Download
POE::Component::Generic is a POE component that provides non-blocking access to a blocking object. Free Download
POE::Component::IRC is a fully event-driven IRC client module. Free Download
POE::Component::SubWrapper is an event based wrapper for subs. Free Download
POE::Component::YahooMessenger is a POE component for Yahoo! Messenger. Free Download
POE::Component::Growl provides a Growl notification dispatcher for POE. Free Download
Latest Software
Popular Software
Favourite Software