// Parameters set up
// set transfer mode now
- void SetPassive(bool pasv) { m_bPassive = pasv; };
+ void SetPassive(bool pasv) { m_bPassive = pasv; }
void SetDefaultTimeout(wxUint32 Value);
bool SetBinary() { return SetTransferMode(BINARY); }
bool SetAscii() { return SetTransferMode(ASCII); }
wxSocketBase *GetActivePort();
// helper for GetPort()
- wxString GetPortCmdArgument(wxIPV4address Local, wxIPV4address New);
+ wxString GetPortCmdArgument(const wxIPV4address& Local, const wxIPV4address& New);
// accept connection from server in active mode, returns the same socket as
// passed in in passive mode