Re:Re: euLibnet and IRC
- Posted by francis.dowling at runbox.com May 26, 2001
- 449 views
....<cut>.... > both euLibnet and euTcp4u won't work because they both use blocked > sockets and Euphoria doesn't allow threads. Possibly I just had poor code > and it is possibly both wrappers could work as well!!! >=20 > I "think" the only way possibly would be to use the winsock wrappers which > can be found through the archive. It will be more difficult to implement= as > you need to use pure winsock instead of using higher level libraries. .... Does Euphoria really not allow threads? I never realised, just presumed tha= t 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 ch= oose (still) to connect without the ident server; which prepends a squiggle= y ~ 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 thei= r implementation but I presume TELNET does not have an ident server - and I= connected fine. After you connect and read the verification notices are yo= u remembering to send to the socket the correct USER, NICK and PONG command= s with their correct parameters? A wee while back I managed to connect to IRC using some socket library in e= uphoria. It would just echo to the screen and send to the server exactly wh= at 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-asy= nchronous variety. From memory, I presumed you used the recv() function wit= h a non-asynchronous (or whatever they're called) socket when you knew exac= tly how many bytes to read, which in a variable environment like IRC I coul= dn't get working effecetively. Anyway, I'm surprised. I'm *sure* I've managed to connect to IRC before wi= th Euphoria. Cheers, get back to me on this I'm interested - I just might have it all wr= ong anyway