Re: SoupServer bind to link-local



On 07/31/2013 03:25 PM, Kai Lüke wrote:
    server = Soup.Server(port=8000, …, interface=addr)

You don't need to specify port there, it's implied by addr.

But listening on IPv6 and IPv4 link-local doesn't seem possible, right?
I mean listening on just two instead of all like in Any.

Yeah, the current API only lets you listen on a single address/port.
You'd need to create two SoupServers to do both IPv4 and IPv6. (This
will be fixed, some day.)

-- Dan



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