mIRC Home    About    Download    Register    News    Help

Print Thread
bindip / $ip #113155 01/03/05 07:02 PM
Joined: Feb 2004
Posts: 201
J
Jae Offline OP
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Feb 2004
Posts: 201
I noticed before when for the first time i wanted to bind a socket to an ip adress the commands were lacking something.
Firstly, if you can choose to bind to an ip.. why is there no way to list ip's you can bind to.. also good to verifyin code that you're binding to the right ip.
Secondly, im curious as to what ip adress $portfree(N) is likely to use (on a machine with multiple ip addresses).
I asume each ip adress can have its own set of ports.
Thus making $portfree(N) useless when multiple ip's are used.

Re: bindip / $ip #113156 01/03/05 11:45 PM
Joined: Jul 2003
Posts: 77
B
bamaboy1217 Offline
Babel fish
Offline
Babel fish
B
Joined: Jul 2003
Posts: 77
both suggestions are very good points i never thoguht of that; even though i am not on a machine with multiple ips i am especially behind the $portfree thing add an optional parameter mayb? like $portfree(N,ip) or something otherwise it shoudl default to the one mIRC is current useing? if you get what im saying; also i dont see how the first one cou dlbe a bad idea as well.


hmmm signed by me