Hi,
I don't know whether this is Windows-specific: only tested it on Windows XP.
In Windows, PD's errors and system messages (as well as [print] outputs) are usually displayed in the main PD window (the one with the "DIO errors" button and "compute audio" checkbox etc.)
However, when a [connect( message is sent to a [netsend] object and the connection cannot be established because nobody is listening to the port (but the host does exist), the following error:
"Connecting stream socket: Unknown error (10061)"
is not displayed in the main window. If running pd from line command, the message is displayed in the dos window. If running PD "directly" without dos window, the error message is not displayed at all.
I guess the message is sent to the stdout or stderr instead of being correctly "catched" and displayed in the main window.
The problem is that no error message at all is displayed in the main window.
Try this to reproduce the bug:
[connect localhost 5000(
|
[netsend]
obviously, with nobody listening to port 5000.
When the host itself is unreachable, a "bad host?" message is correctly displayed in the main window, so the following WON'T reproduce the bug:
[connect badhostname 5000(
|
[netsend]
Anonymous
Logged In: YES
user_id=564396
Originator: NO
the problem here is that the error-message is not output by Pd itself but rather by the underlying library that provides the networking stuff.
this output is sent to stderr directly (and not to Pd which can then decide where to put it)
a solution for this would be to re-direct the stderr (and stdout when we are there...) to the pd-console;
i have no idea how to do that.