|Subject:||Re: Back to emacsclient/server|
|Date:||Tue, 24 Oct 2006 07:06:03 +0200|
|User-agent:||Thunderbird 22.214.171.124 (Macintosh/20060909)|
Jason Rumney skrev:
Jan Djärv wrote:If that fails, you give up, since it will only ever fail if there are no ports free, or no network interfaces to bind to.Stefan Monnier skrev:Huh? Why would you need that. It seems just as simple to - bind to any port.And if that fails, what do you do? You still have to handle bind failures.
If you choose a random port, it is likely you hit a used port, i.e. bind fails. It is not only when there are no ports free or no interfaces to bind to.
You would of course exclude the well known ports, but even then you can never guarantee that you will not by accident choose a port that is in use.
|[Prev in Thread]||Current Thread||[Next in Thread]|