Re: Re:Re: euLibnet and IRC
- Posted by Ray Smith <smithr at ix.net.au> May 27, 2001
- 433 views
Hi, Sadly it's true, Euphoria doesn't handle threading. I have no idea if the Ident server is the problem or not. I can't even make a connection, it just returns a connection error I think ... not to helpful. If Ryan Breen is OK with it I'll pass on his test program (with my mods) he did using euTcp4u (I think) that attempted to connect to an IRC server - to see if anyone can put some light onto the subject. Ray Smith > Does Euphoria really not allow threads? I never realised, just presumed that it did. I've never actually tried calling the CreateThreadEx or whatever-it-happens-to-be-called function in whatever.dll.... > Anyway, are you *sure* about this identd server? I've used IRC for 5 years, and on undernet and DALnet which are the only ones I frequent now I can choose (still) to connect without the ident server; which prepends a squiggley ~ to your ident. I've always understood this to mean no ident server was accessed when connecting. Come to think of it too, last time I connected to IRC was through telnet. I don't feel confident programming sockets or their implementation but I presume TELNET does not have an ident server - and I connected fine. After you connect and read the verification notices are you remembering to send to the socket the correct USER, NICK and PONG commands with their correct parameters? > > A wee while back I managed to connect to IRC using some socket library in euphoria. It would just echo to the screen and send to the server exactly what you typed. Just like telnet, except I couldn't work out how to detect an end of line as the sockets implemented in this library were of the non-asynchronous variety. From memory, I presumed you used the recv() function with a non-asynchronous (or whatever they're called) socket when you knew exactly how many bytes to read, which in a variable environment like IRC I couldn't get working effecetively. > > Anyway, I'm surprised. I'm *sure* I've managed to connect to IRC before with Euphoria. > > Cheers, get back to me on this I'm interested - I just might have it all wrong anyway