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