I recently asked about multithreading - thanks for you help and I ordered a book for more information.
Now I have been working on my client-server architecture for a small chat relay. Well I have it working a lil bit. My problem is that once I invoke the recv() function code processing halts there and waits for inbound data. I would rather it work like the _kbhit() function does – checking for inbound data that is waiting in some sort of buffer. If there is none then move onto the next statement. If there is then process it how it has to be.
I have looked at some msdn articles using winsock2 – but my word are they ever confusing haha. I apologize if this is a bad post – let me know of my effort level – haha :-p
Umm.... I looked into recvfrom as someone said it wont halt processing (or I guess the term is "blocking") but that really didnt work for me :-\.
Again thank you for all your help!! :-D