i want in to make a program, which accepts a command via sockets, and act upon each command differently, i.e: start recieving a file, store the next 10 strings in a record, etc.
what should i write in Winsck_DataArrival ?
and what next ? how do i make it know when to start recieving a file and when to start reciving the strings, and also other 'commands' ?