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