المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Socket Error: A non-blocking socket operation could not be completed immediately



C# Programming
12-22-2009, 10:51 AM
Hey guys

As you may or may not know I've been busy working on a scalable asynchronous TCP server... After previous suggestions here in the forums I've succeeded more or less http://www.barakasoft.com/script/Forums/Images/smiley_smile.gif

My only problem right now is that sometimes, usually when I try to send a packet to a 2nd or 3rd client (my server is just echoing at the moment) I get an exception:
A non-blocking socket operation could not be completed immediately http://www.barakasoft.com/script/Forums/Images/smiley_doh.gif

Googling around it seems that this is a non fatal exception and quite normal for asynchronous TCP communications...

My question is how should I handle this?

Thanks

Harvey Saayman - South Africa
Software Developer
.Net, C#, SQL
you.suck = (you.Occupation == jobTitles.Programmer && you.Passion != Programming)
1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111