Using sockets on IRC network
Posted on 2001-06-07
I'm kinda stuck here. I have been doing a fair amount of programming, but never with sockets before. Neither have I tried to modify events or do some twisted stuff :)
I'm using Borlands C++ Builder 5.0 on a Win2k box
The problem lies in using the right component (right now I'm using the TPowersock) and getting to read and send to the IRC network. Sending the prober commands is not as much of a problem, as to getting and sending the data. Sending, i guess is rather easy with the SendLn(), but detecting with the onPacketrecvd() (which i guess i should use) has been beyond my abilities, since i cannot see that event in the event-viewer (although it's there in the help file)
How do i talk to such a network, and get data from it (only the basic text)?
a small codeexample, if necessary, would be much appreciated....