communicating from console app to wxWidgets app?

Riccardo Cohen rcohen at articque.com
Fri Nov 16 08:01:27 PST 2007


it is quite easy to build a socket communication on linux, and it is not 
difficult to port it to mac and even windows.

the only thing is that the wxwidget application must handle correctly 
the listen process  : check incoming connexions within idle events and 
avoid multithreading if not necessary.

but there is a point that might be difficult : on linux you need to be 
root to listen on a socket port... I don't know how to handle this.

The Night Tripper wrote:
> Hi
>         I have a small wxWidgets app which I'd like to 'control' (by passing
> it a few simple command strings). The application I want to control it is a
> non-wxWidgets console app. What are some of the options to consider as a
> mechanism for doing this?
> 
> I might consider making the console app a wxWidgets one, but only if there
> wouldn't be a great overhead. I'm running under Linux BTW.
> 
> Thanks for your thoughts
> 
>         J^n
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
> 
> 

-- 
Très cordialement,

Riccardo Cohen
-------------------------------------------
Articque
http://www.articque.com
149 av Général de Gaulle
37230 Fondettes - France
tel : 02-47-49-90-49
fax : 02-47-49-91-49





More information about the wx-users mailing list