509
509
"""This overrides the normal server_bind() function
510
510
to bind to an interface if one was specified, and also NOT to
511
511
bind to an address or port if they were not specified."""
513
513
# 25 is from /usr/include/asm-i486/socket.h
514
514
SO_BINDTODEVICE = getattr(socket, "SO_BINDTODEVICE", 25)