0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

fix eaddrinuse bug

This commit is contained in:
Henry Rawas 2011-07-07 16:22:50 -07:00 committed by Ryan Dahl
parent 3c52fd006e
commit e81a89b116

View File

@ -464,7 +464,7 @@ function listenip(self, ip, port, addressType) {
// assign handle in listen, and clean up if bind or listen fails
self._handle = new TCP();
self._handle.socket = this;
self._handle.socket = self;
self._handle.onconnection = onconnection;
if (ip && port) {