ok, this will be a post that i dont have code for yet!
not HW, not employment, just me learning (yet again!)
i have been studying sockets, and confused as hell, mostly because almost everything i read is for *nix and not windows!
but also confused on how any of it works as most of the tutorials do it different!
i want to write a program(s) so that the client sits and waits for a scanf to recieve an int, then send to server
server then recieves the int, processes it, then goes back to sit and wait for new input.
to start with, where do i start! server side, or client side?
and also what order do i have to go in my program before the loop to set up the socket, and listen?
and then what gets looped to keep the connection open and wait for new recieve?
client side same thing!
sockets are completely new to me, and not being a student, i have no where to go to learn it!