Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Telnet chat server

Name: Anonymous 2011-02-16 17:39

telnet 98.255.132.66 9099

Come join the fun!

Name: Anonymous 2011-02-17 12:27

>>6
I don't see any telnet implementation at all.  What are you trying to pull here, mister?

Also,
#!/usr/bin/perl
use 5.008001;
use base 'Net::Server::Multiplex';

sub mux_input {
    my ($self, $mux, $fh, $inbuf) = @_;
    while ($$inbuf =~ s/^(.*?)\r?\n//) {
        if ($1 eq "/quit") {
            $mux->close($fh);
        } else {
            my $bcast = $self->{peeraddr}.': '.$1."\r\n";
            for my $client ($mux->handles) {
                $mux->write($client, $bcast) unless $client == $fh;
            }
        }
    }
}

run main port => 9099

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List