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

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to