|
From: Adam D. <ad...@si...> - 2003-09-30 20:16:50
|
Hi! On Tue, 2003-09-30 at 23:57, Jens Andersen wrote: > I worked on one a while back. The main problem I hit was being able to send data at any time, not just when being called by uip... > I didn't find a way around (my C knowledge isn't very good). Unfortunately I don't have the source anymore (it's on a diff computer in a basement quite a bit away). It was vaguely useable though...Can connect and stay connected (respond to server pings). Ok. Yeah it is a little tricky to write applications for uIP because of this. The contiki/apps/telnet.c can be used as an example of how to do this, but it still is a little trickier than, say, BSD sockets. > But as Groepaz says it is very easy to make the main parts of it. > for a basic irc client you only really need to send the USER and NICK commands (With right params of course) and respond to PING :<random number/text> with PONG :<same random number/text> Cool! I just tried loggin in to irc.efnet.net and issues some commands. I even think that I may have been able to join #c64 :-) It didn't seem too complicated. > And then of course /msg, /me and parsing of incoming messages...nothing else is really needed... Ok. > (Of course, if it needs to be a truly graphical client and not just a BitchX/epic/etc style client it needs a lot more (such as listbox-type controls(userlist) and rightclick menus) I think a simple text-based client would be a good start anyway ;-) Thanks, /adam -- Adam Dunkels <ad...@si...> http://www.sics.se/~adam/ |