Fir,
> one option seems to me trying to do it with winsock but im not sure
> how hard or "unreliable" it would be as there is http protocol you need
> to code a bit
IRC isn't the same as HTTP (far from it even). I don't think you can use
any of the HTTP related functions to communicate with IRC ... And for the
same reason I don't think that wininet.dll will work.
And on which version of the OS do you want to write/run it ? I'm asking,
as just now tried to take a peek at XPs winsock.dll, and I couldn't (its not
PE style).
Personally I always use ws2_32.dll on anything regarding sockets thats not
supported on a high level by MS (HTTP, FTP and a few others).
But, have you ever thought of grabbing an ActiveX component (like
mswinsck.ocx is one for HTTP), and than script the whole thing (VBScript
comes to mind). You see, there is a good chance someone has already
written such a component, and you would than only need to handle the
high-level stuff (read: handle strings).
Regards,
Rudy Wieser