Click here to Skip to main content
15,895,370 members

Comments by michaelmel (Top 53 by date)

michaelmel 11-Apr-13 19:54pm View    
Stating the obvious but if the socket is set to be blocking (is it?) it should "get stuck" by definition until you get all 1024 bytes you have asked for. Look I think it is just a matter of debugging this thing through. Cheers
michaelmel 10-Apr-13 22:02pm View    
Then I am not sure. My gut feeling is that it may be unrelated to threading in this case, but instead could be an issue with binding the socket. Does bind actually return an error code that makes sense? May be you bound the same address address before? For example, if you run the app second time after a crash and cleanup is not performed properly, then TCP/IP stack will still consider IP address as in use - in which case you will get WSAEADDRINUSE error code on return. (If this is indeed the case you could use SO_REUSEADDR option).
michaelmel 3-Mar-13 21:23pm View    
Deleted
"Absolutely immoral" "Absolutely serious" "Biggest sins" "Morons" A bit of advice, SA, get a serious reality check. You sound hysterical, to say the least.
michaelmel 10-Feb-13 18:52pm View    
Deleted
"Absolutely immoral"
"Absolutely serious"
"Biggest sins"
"Morons"
A bit of advice, SA, get a serious reality check. You sound hysterical, to say the least.
michaelmel 8-Feb-13 0:29am View    
1) You can read my answer regarding what I think in regards to the actual technical situation. On the balance of probabilities and the information provided, I would be very wary of doing medium level surgery on 300k loc project (presumable stable) for the sake of user interface update
2) I do not do appreciate software philosophy and/or lecturing, in cyberspace or a real work environment
3) I do not see the point of cross-referencing the solution to totally unrelated answers (what does it have to do with cross-platform development), even if they are very fresh in your memory because you have just written them.

I have often given 5s to many posters including yourself by the way when I think the answer is a) correct b) addresses the question