quote:
Originally posted by Plik
quote:
Originally posted by Pai
I believecode:
ws = new ActiveXObject( "MSWinsock.Winsock" );
ipaddress = ws.LocalIP;
is easier, but I made it so that the developer can set what IP to listen because there are people with multiple network adapters.
I knew there would be an easyer way envolving winsock -_-
* Plik hides in shame
nah your way is better, MSWinsock.Winsock is a design time activexobject which is only distributed with things like visual studio, so it will only work for people who have this installed (and distributing it is illegal afaik)