You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi :)
Today i was need connect to SQ interface from custom ip and i'm seeing lib source. And i have the one fix for this.
Assign ip to connect we can only in connect method, but in library there pass only host and port => we cann pass custom ip to connect.
passing options to `new net.Socket(options) didn't do enough actions.
this is fixes from node js noob, but it pretty works
Then we can connect to sq with from custom ip by this code new TeamspeakQuery(server.ip, server.query,{localAddress:'my.ip.123.322'});
I'm sure that you can offer a more intelligent version of this function 😄
The text was updated successfully, but these errors were encountered:
Hi :)
Today i was need connect to SQ interface from custom ip and i'm seeing lib source. And i have the one fix for this.
Assign ip to connect we can only in connect method, but in library there pass only host and port => we cann pass custom ip to connect.
passing options to `new net.Socket(options) didn't do enough actions.
this is fixes from node js noob, but it pretty works
Then we can connect to sq with from custom ip by this code
new TeamspeakQuery(server.ip, server.query,{localAddress:'my.ip.123.322'});
I'm sure that you can offer a more intelligent version of this function 😄
The text was updated successfully, but these errors were encountered: