http://bugs.winehq.org/show_bug.cgi?id=3063
------- Additional Comments From zthg4821@gmail.com 2006-06-11 13:16 ------- Stéphane: I'm not sure if this is coincidence, but I applied the patch to Wine 0.9.24, fired up eMule and loaded it down, and it crashed 14 hours later with ~800 sockets (counted using the lsof method you described). As usual, a couple of .met and .dat files were wiped during the crash (yes, this bug does cause data loss).
For the record, in eMule I have TCP and UDP both enabled, and I'm using both ED2K and Kad for transfers. Under "Options: Connection" I have "Max sources/file: Hard limit" set to 500 and "Connection limits: Max connections" set to 400.
I'm not up for trying the patch against Wine CVS head, so I'll wait for the next Wine release and test eMule again.