A bot like forge human presence?
If so all you would need would be read from socket and write to socket, according to the message received, although that would be a huge list...
To be effective you would need to have checks for smiles, adjectives list, interpret numbers as letters and would probably still fail a lot :O
I haven't coded in WinAPI, but shouldn't there be some interaction with a socket? like a send() or socket<<"Bla bla bla";
Also I believe you need to add \r\n and the end of every strings, but that I can't ensure.