Im working on a chat client/server as project in Delphi and have decided to rewrite the thing from scratch... without using Delphi's pre-made socket components. I want to acheive a better understanding of how winsock programming should be done 'properly'.
So far i have managed to create a socket and connect (within a seperate execution thread) but i am unsure how exactly to read data from it, and for that matter.. when !
A simple sample application would be very usefull as packages such as F.Piettes ICS seem far too advanced for me to grasp the concept.
Thanks in advance.