[Mono-devel-list] System.Net.Socket - Write failure

underdog10 at netcourrier.com underdog10 at netcourrier.com
Thu Apr 21 17:04:04 EDT 2005


Hello,

I start developing an application using mono/GTK# last year (xbgm.sf.net). I keep upgrading mono and GTK# since.
I recently get a bug report from an user telling me than something was not working.
So i start working on it to find out why. And After 3 days on it, i figure out than my bug it happening only if using mono <=1.0.3

In fact i upload a file using standard FTP command.
When i develop this features, it was mono 1.0.2.

So i have been testing all mono version on this part of code and it is working only if using mono >=1.0.2

I check if i did not introduce error in my code and i did not modify lines in this part of code.
You can find the source :
http://cvs.sourceforge.net/viewcvs.py/xbgm/xbgmsharp/src/Xiso/xisothread2.cs?rev=1.1

So my question is,  Why my upload stuff is working fine with mono 1.0.2 and not when using mono 1.0.4 and upper?

Thanks

This BUG happens on linux and WinXP


---> STOR default.xbe
150 Opening BINARY data connection for E:\xxxx\default.xbe
Size =[2232320]
Size =[2228224]
Exception (in xisothread2): Write failure
Exception: Write failure

Unhandled Exception: System.IO.IOException: Write failure ---> System.Net.Socket
s.SocketException: Operation on non-blocking socket would block
in <0x00084> System.Net.Sockets.Socket:Send_nochecks (byte[],int,int,System.Net.Sockets.SocketFlags)
in <0x000ba> System.Net.Sockets.Socket:Send (byte[],int,int,System.Net.Sockets.SocketFlags)
in <0x000ef> System.Net.Sockets.NetworkStream:Write (byte[],int,int)
--- End of inner exception stack trace ---

-------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,16 € TTC/min)




More information about the Mono-devel-list mailing list