server.start() Which IP is it bound to?

43 views
Skip to first unread message

bloomk

unread,
Aug 16, 2012, 7:28:58 PM8/16/12
to lidgren...@googlegroups.com
I have a server with 6 IP addresses and when i do server.start() how to i get the IP address that it bound to? server.configuration.address is nothing... 

lidgren

unread,
Aug 16, 2012, 7:52:16 PM8/16/12
to lidgren...@googlegroups.com
To get your local IP address using NetUtility.GetMyAddress(out mask). Getting your external IP address is a bit more complex.


--michael
Reply all
Reply to author
Forward
0 new messages