SoupServer bind to link-local



Hello,

is it somehow possible to use SoupServer and bind it to a specific
IP/interface? Setting the interface property to SoupAddress created with
new_any works, but I don't want to use 0.0.0.0 but e.g. 127.0.0.1.
Actually I think it might be possible with new_from_sockaddr, but I
don't get the python-bindings (gir) for this function and couldn't
figure out how to combine it with "import socks" C sockets.

Regards,
Kai


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