[Mono-dev] Socket.BeginReceive never throw Exception

Pigo Chu pigo_chu at hotmail.com
Tue Mar 23 21:50:17 EDT 2010


I am designing a simple http server use Async Socket model.
And test performance use ab (apache benchmark) Like ab -c 1000 -n 100000 -k
http://myserver...

when ab request end , but my http server never got disconnect signal many
times.

Why happend this ? because Socket.BeginReceive no throw exception when I
have not write try ... catch code

But on MS.Net , Socket.BeginReceive will throw exception when I have not
write try catch

My test os is ubuntu 9.10 , mono version is 2.4.2.3 
This bug also happend on mono 2.6.3 with debian 5.



-- 
View this message in context: http://n4.nabble.com/Socket-BeginReceive-never-throw-Exception-tp1679973p1679973.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list