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:13:35 +0000 (10:13 +0200)
commit35434d1e1019ad9b262cf3a6f0def8130ef2512a
treeb5360df0bf901dcdd6487ece6b4fc56fb4222f2c
parent96297921505eaf9e761baf31df6e817435e9f2be
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