()
| 1279 | } |
| 1280 | |
| 1281 | end() { |
| 1282 | if (this._sock && isWritable(this._sock)) { |
| 1283 | this._protocol.disconnect(DISCONNECT_REASON.BY_APPLICATION); |
| 1284 | this._sock.end(); |
| 1285 | } |
| 1286 | return this; |
| 1287 | } |
| 1288 | |
| 1289 | x11(originAddr, originPort, cb) { |
| 1290 | const opts = { originAddr, originPort }; |