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

Pages: 1-

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 6:41

Hi, I'm not giving a fuck.

This thing is, right now, goddamn useless. Come back when it's got modules.

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?

Name: Anonymous 2011-02-21 13:43

>>3
YAIF Another IRC Framework.

Name: Anonymous 2013-04-22 22:16

aye

Name: Anonymous 2013-04-22 22:17

Hi, OP.

Go back to /g/.

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