Skip to content

Instantly share code, notes, and snippets.

@cezarsa
Created May 17, 2010 03:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cezarsa/403347 to your computer and use it in GitHub Desktop.
Save cezarsa/403347 to your computer and use it in GitHub Desktop.
# After calling client.end();
MB:node.ws.js cezarsa$ sudo lsof -i -P | grep node
node 3755 cezarsa 5u IPv4 0x078f56e0 0t0 TCP *:8080 (LISTEN)
node 3755 cezarsa 8u IPv4 0x05803334 0t0 TCP 192.168.0.5:59066->168.143.162.103:80 (FIN_WAIT_2)
# After calling client.destroy();
MB:node.ws.js cezarsa$ sudo lsof -i -P | grep node
node 3814 cezarsa 5u IPv4 0x078f56e0 0t0 TCP *:8080 (LISTEN)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment