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

noko

Name: Anonymous 2011-02-21 5:44

Hi, I started writing an IRC client.

import socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

s.connect(('irc.freenode.net', 6667))
while 'No Ident' not in repr(s.recv(1024)):
    pass

s.send(b'NICK pyIRC')
s.send(b'USER pyIRC 8 *  : pyIRC')
while 'MODE pyIRC' not in repr(s.recv(1024)):
    pass

print(repr(s.recv(1024)))

Name: Anonymous 2011-02-21 10:55

>>1
make it event based
add plugin architecture
congratulations, now you have written yet another framework...

now, what are you going to do with it that hasn't been done to death already?

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