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