Submitted by Exodus on Sun, 01/15/2012 - 18:51
Well, here we have it: the very first update to the IRC client. It can connect to a specified server (look in src/server.c lines 11-13), and will relay messages to the server. The input so far only consists of relaying any normal messages as a private message (the exact for is PRIVMSG %s, where %s is the input string). It also parses /join, /raw, /quit, /ping, and /msg.
IRC, as specified in RFC 1459, is a protocol for communicating between different users. It is a fairly widely-used protocol, and one of the older instant messaging protocols. So, I decided to write a client for it.
The default Pascal ReadLn library function has a minor problem - it is limited to reading a limit of 256 characters from the standard input. Any more than this and it is impossible to read any more. The ConsoleInputunit provides a workaround to this, by providing the cio_gets function.
Download
Pascal - unit has yet to be written and tested
C - yet to be uploaded
Submitted by Exodus on Wed, 11/02/2011 - 21:08
Well, I think the title sums it all up nicely. I've decided to start a blog. It shall (hopefully) contain most of my schoolwork available for note-taking if necessary, especially computing work, which is the primary focus of this blog. So, here's to many future posts.
Technical details: running Drupal on BluServ.