+ // return the socket to be used, Passive/Active versions are used only by
+ // GetPort()
+ wxSocketBase *GetPort();
+ wxSocketBase *GetPassivePort();
+ wxSocketBase *GetActivePort();
+
+ // helper for GetPort()
+ wxString GetPortCmdArgument(wxIPV4address Local, wxIPV4address New);
+
+ // accept connection from server in active mode, returns the same socket as
+ // passed in in passive mode
+ wxSocketBase *AcceptIfActive(wxSocketBase *sock);
+