Hi.
I have to send UDP packets very often. Approx twice in a second.
But socket is not closed after sending packet. So soon i bump into
open sockets\files limit.
How to close socket after sending data?
Python 2.5, Twisted
class DataClient(DatagramProtocol):
def __init__(self, address, datag
a the value isn't changed the default
> value is just referenced from the class then and not every instance.
>
When changing default value, is there any way to change class
attribute and all referenced attributes too?
class M:
name = u"Marko"
a, b = M(), M()
a.name = u"