Compare commits
2 Commits
894c9d9e36
...
3e646eb473
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | 3e646eb473 | |
Derrick Hammer | 608aace286 |
|
@ -190,7 +190,10 @@ export default class MultiSocketProxy extends Proxy {
|
|||
|
||||
const peer = this._nextPeer();
|
||||
const socketId = nextSocketId();
|
||||
const socket = new this.socketClass(socketId, this, peer, options);
|
||||
const socket = new this.socketClass(socketId, this, peer, options, {
|
||||
remoteAddress: options.host,
|
||||
remotePort: options.port,
|
||||
});
|
||||
this._sockets.set(socketId, socket);
|
||||
|
||||
return socket;
|
||||
|
|
Loading…
Reference in New Issue