957
957
"close", "getpeername", "getsockname", "getsockopt", "gettimeout",
958
958
"setblocking", "setsockopt", "settimeout", "shutdown"])
960
def __init__(self, sock, latency, bandwidth=1.0,
960
def __init__(self, sock, latency, bandwidth=1.0,
963
963
:param bandwith: simulated bandwith (MegaBit)
964
964
:param really_sleep: If set to false, the SocketDelay will just
965
965
increase a counter, instead of calling time.sleep. This is useful for