http://bugs.winehq.org/show_bug.cgi?id=5240
--- Comment #8 from Michał Majchrowicz mmajchrowicz@gmail.com 2008-01-14 16:43:14 --- Thanks for confirming the bug. I don't know why it tries to open port 0. I assume that it was programmer mistake. He just did something like this: use_some_smart_ms_function_to_open_port(0); And he/she was just happy that it worked. But he/she didn't even wonder why it works and that in fact it uses port 950. While waiting these two years for fixing this bug I have reversed most of the ponyChat protocol. The project is called ospcc and you can find source code here: http://ospcc.sf.net/ I hope it can help you to understand how ponyChat works :)