Lame answers!!!

One can't obtain users' IP addresses in a chat rooms unless there are security holes in that chat room which you specifically have to look for!

Netstat enumerates current connections and open ports on your computer...

In some (I would even say most) cases it is possible to determine email sender's IP address through email header, but that's another scenario.