Thread POE::Component::IRC (7 answers)
Opened by Chris at 2004-05-09 06:50

betterworld
 2004-05-09 19:19
#2358 #2358
User since
2003-08-21
2614 Artikel
ModeratorIn

user image
Mach mal so:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use strict;
use IO::Socket::INET;

my $sock = new IO::Socket::INET(
Proto => "tcp",
PeerPort => 6667,
PeerAddr => 'irc.gamesurge.net';
) or die "$!";

print $sock "user hallo da bin ich\n";
print $sock "nick nurmaltesten\n";
print $sock "join #channel\n";
print $sock "privmsg #channel :Hallo Leute\n";
sleep 5;
print $sock "quit\n";

View full thread POE::Component::IRC