Search code examples
tcpconnectionclientwxwidgets

Is it safe to use wxTCPConnection in a public network?


I am in the process of developing my first client and corresponding server applications. So please be easy with me, I am a noob on network related matters.

My goal is to create a simple interface between my client and my server. In other words, I would like to be able to Start/Stop the server, connect/disconnect and send a packet of data either way when connected.

I am developing in c++ and I use the wxWidgets library which provides sockets-based IPC classes (wxTCPServer, wxTCPClient and wxTCPConnection).

My questions are: Since wxSSLServer, wxSSLClient and wxTCPConnection are still in the works and not available, how safe is it to use the above classes (wxTCPServer, wxTCPClient and wxTCPConnection) when the client or the server (in case I am running it on my laptop) is connected to a public network? I assume that such a connection would be safe when both are connected in private networks - please correct me if I am wrong.

Is there an alternative opensource library you would suggest that will allow me to safely accomplish my task?

Thank you in advance, Nicholas


Solution

  • Check this comparison

    https://en.wikipedia.org/wiki/Comparison_of_TLS_Implementations#Overview