[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Back to emacsclient/server

From: Jan Djärv
Subject: Re: Back to emacsclient/server
Date: Tue, 24 Oct 2006 07:06:03 +0200
User-agent: Thunderbird (Macintosh/20060909)

Jason Rumney skrev:
Jan Djärv wrote:

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 that fails, you give up, since it will only ever fail if there are no ports free, or no network interfaces to bind to.

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.

        Jan D.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]