What happened to wxPipe? Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply

Which messaging system you use in your projects?

Google Protocol Buffers
0
No votes
Boost.Interprocess
0
No votes
Apache Thrift
0
No votes
Maciej Sobczak's YAMI
0
No votes
Freedesktop D-Bus
0
No votes
ZeroC Ice
0
No votes
wxSocket
8
80%
libcurl
2
20%
 
Total votes: 10

irgenius
Earned a small fee
Earned a small fee
Posts: 13
Joined: Mon Aug 24, 2009 1:06 pm
Location: St. Petersburg, Russia

What happened to wxPipe?

Post by irgenius » Fri Sep 04, 2009 7:11 am

Hello!
I'm trying to migrate my applications to wxWidgets from MSW. I used named pipes for inter-thread communications. As I googled, there was a wxPipe class several years ago, but now it's gone (at least I couldn't find it in the source). What happened to it? Was this an extension? Should I use wxSocket instead? Or maybe, there is a cross-platform library for such things?
I'd like to listen for your opinions and experience. Thanks.
PS. Also I would like to know which messaging system you use in your cross-platform projects.

kai7
Knows some wx things
Knows some wx things
Posts: 40
Joined: Wed Sep 28, 2005 11:02 am
Location: Germany, Berlin
Contact:

Post by kai7 » Sat Sep 05, 2009 5:53 am

Well, I am using the "Interprocess communication" of wxWidgets (wxConnection, wxClient, wxServer) - not in your poll list. It choses the way depending of the platform:

- DDE on Windows
- Sockets on other plattforms

It's working great for me.

There is a page "Interprocess communication overview" in the wxWidgets documentation.

-Kai

irgenius
Earned a small fee
Earned a small fee
Posts: 13
Joined: Mon Aug 24, 2009 1:06 pm
Location: St. Petersburg, Russia

Post by irgenius » Sat Sep 05, 2009 7:00 am

Yes, thank you. There is wxSocket on the poll list, I meant that wxClient/wxServer are based on wxSocketBase class and there are also wxHTTP and wxFTP. Unfortunately, there has not been UDP realized in the wxSockets. How about productivity of wxClient/wxServer compared to pipes?

kai7
Knows some wx things
Knows some wx things
Posts: 40
Joined: Wed Sep 28, 2005 11:02 am
Location: Germany, Berlin
Contact:

Post by kai7 » Sat Sep 05, 2009 10:11 am

The difference to wxSocket is, that under Windows DDE is used. So it uses the common, reliable and efficient way for each system. Sockets are not necessarily available under Windows but on Unix systems they are the common way. Sockets are more flexible than pipes (per se bidirectional). Regarding the performance I don't know if there is a small differences, but both have no real problems (even with TCP :-) ). So why do you worry?

-Kai

bigpilot
I live to help wx-kind
I live to help wx-kind
Posts: 168
Joined: Tue Sep 19, 2006 8:33 am

Post by bigpilot » Sat Sep 05, 2009 12:38 pm

Why isn't XML-RPC on the list? Seems to me one of the most important protocols.
Soon to be world famous ;)

irgenius
Earned a small fee
Earned a small fee
Posts: 13
Joined: Mon Aug 24, 2009 1:06 pm
Location: St. Petersburg, Russia

Post by irgenius » Sun Sep 06, 2009 7:07 am

bigpilot wrote:Why isn't XML-RPC on the list? Seems to me one of the most important protocols.
Oh, I'm sorry for my ignorance, I'll learn about this mechanism.

gunterkoenigsmann
Earned a small fee
Earned a small fee
Posts: 13
Joined: Tue May 31, 2016 11:30 am

Re: What happened to wxPipe?

Post by gunterkoenigsmann » Tue Aug 20, 2019 6:58 am

RPC using XML is ab important data format. But it is transported over a socket/using curl/...

Post Reply