X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/a8f0f5a52af09cc0c0bcd08d64a1166b7502a424..34d407f7df45b5faaa25a92a04e8582f95162f31:/stglibs/srvconf.lib/netunit.h?ds=inline diff --git a/stglibs/srvconf.lib/netunit.h b/stglibs/srvconf.lib/netunit.h index f87fb3a8..b6584ee5 100644 --- a/stglibs/srvconf.lib/netunit.h +++ b/stglibs/srvconf.lib/netunit.h @@ -32,6 +32,9 @@ public: NETTRANSACT(const std::string & server, uint16_t port, const std::string & login, const std::string & password); + NETTRANSACT(const std::string & server, uint16_t port, + const std::string & localAddress, uint16_t localPort, + const std::string & login, const std::string & password); int Transact(const std::string & request, CALLBACK f, void * data); const std::string & GetError() const { return errorMsg; } @@ -52,6 +55,8 @@ private: std::string server; uint16_t port; + std::string localAddress; + uint16_t localPort; std::string login; std::string password; int outerSocket;