help with irc server

Any other programming language that is not covered in the Web Scripting category.

help with irc server

Postby carlos on Fri Jan 05, 2007 7:26 pm

Hi i created a socket to connect to an irc server. i send user and nickname messages and to read the data using gets but to be able to read them a buffer flush is needed for every message, if not it remains in blocking mode, waiting to be read and it never happens. I have looked up information about this issue and still can't fix this problem...
the only thing I can think is that the command get only reads text from the buffer but leaves the character controls of the end of the line (bottom line) in there, and that's why it goes into blocking mode. I may be wrong but still, I don't know why if it reads the last message when the connection is (closed) when there are still messages coming in ( or in between)

i hope you understand my bad english Very Happy
carlos
Contributer
Contributer
 
Posts: 24
Joined: Sun Jul 09, 2006 7:15 pm
Location: Barranquilla, Colombia

Re: help with irc server

Postby c0h on Wed Aug 01, 2007 5:28 am

hello.

if the problem is actual now, can u say what language do you use to write the irc client and what operating system do you use to run it?
c0h
Newbie
Newbie
 
Posts: 13
Joined: Wed Jun 27, 2007 8:42 am
Location: Russia


Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron