Lothar Pfeiler
unread,Feb 11, 2012, 4:03:31 AM2/11/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nodejs
Hi,
when I use
server.listen(port)
server.address() gives me a nice object with port, family and
hostname.
But when I use
server.listen(port, hostname)
server.address() returns null.
I guess, server.address() uses os libs so here are the platforms where
I tested it:
node v0.6.8 on Linux server 2.6.32-33-server #70-Ubuntu
node v0.6.7 on Mac OS X Lion
Is this already a known bug or is it a feature?
Regards,
Lothar