lib: Register socket for routing before attempting final open step.
commitf9fa50db8c119a09c53fc94b6eaff08ef648374b
authorToby Gray <toby.gray@realvnc.com>
Thu, 21 Jun 2012 13:32:50 +0000 (21 14:32 +0100)
committerChris Frey <cdfrey@foursquare.net>
Fri, 5 Apr 2013 21:24:25 +0000 (5 17:24 -0400)
tree10ae6b7615e724acdb1cff9fd5a90588281be7ae
parent4f535df0bf807dcf969e33efdf247655c4e14b32
lib: Register socket for routing before attempting final open step.

This is needed to prevent packets not getting routed to the correct socket if they
are received almost immediately after the device has said the socket is open.
src/socket.cc