Postpone client socket construction
authorArtem Baguinski <artm@v2.nl>
Mon, 27 Jun 2011 08:13:35 +0000 (10:13 +0200)
committerArtem Baguinski <artm@v2.nl>
Mon, 27 Jun 2011 08:22:14 +0000 (10:22 +0200)
commit01d874fe5f481f39eb6bbed6669beab9428cfa09
tree9f67fbf371423e9d2d97803e93a394622cd16784
parent31e02ec9ddeb1ada243914f9f02dffb0fae54d96
Postpone client socket construction

We don't know which address family should be used until connect() or (the
first) sendto(). These two should be made clever enough to choose the
right address family, so the socket construction should be postponed
until one of them. Actual socket construction setup is abstracted into a
private method _ensureConnected, where the address family guessing
will be implemented.
OSC.py