Page 1 of 1

IPC poke timeout too long

Posted: Fri Feb 23, 2007 10:22 am
by Cursor
Hello.

I want to know is there is any way to modify timeout for IPC transactions ?

I use IPC (wxConnection & wxClient) to send a command to another instance of my app but if the other instance doesnt respond (system pause ...) the connection is ok but I must wait the "10 minutes" of the standard wxSocketBase timeout. As wxConnection's sockets are not public, I cant modify their timeout.

Is any way exists to globaly modify the wxSocketBase default timeout ?

Thanks.

Posted: Thu Aug 30, 2007 3:44 pm
by gurkesaft
The only way I've found to do it is to find the appropriate instance of wxSocketBase and call SetTimeout(). I don't think you can do it globally (aside from editing some .h file I'm sure).

Hope this helps,
Jack