class documentation
class StringUDPSocket: (source)
A fake UDP socket object, which returns a fixed sequence of strings and/or socket errors. Useful for testing.
Method | __init__ |
Undocumented |
Method | connect |
Undocumented |
Method | recvfrom |
Return (or raise) the next value from self.retvals. |
Instance Variable | connected |
The address the socket is connected to. |
Instance Variable | retvals |
A list containing either strings or socket.errors. |