Interprocess communication

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
AndrzejB
Earned some good credits
Earned some good credits
Posts: 105
Joined: Sun Nov 29, 2015 12:46 pm

Interprocess communication

Post by AndrzejB »

In file sckipc.cpp, method wxTCPClient::MakeConnection
https://github.com/wxWidgets/wxWidgets/ ... c.cpp#L369
has parameters: host, serverName, topic
but has not port number.
This communication is over TCP/IP? Yes, below is name "wxTCPConnection".
What about port is taken by other application ?
User avatar
T-Rex
Moderator
Moderator
Posts: 1248
Joined: Sat Oct 23, 2004 9:58 am
Location: Zaporizhzhya, Ukraine
Contact:

Re: Interprocess communication

Post by T-Rex »

You can specify the port number as a second parameter (serviceName) according to the documentation.
And yes, this will be a TCP connection.
Post Reply