Closed GoogleCodeExporter closed 8 years ago
it appears this discrepancy has been in there for a while. (it looks like it
was introduced somewhere in 0.10).
I'm inclined to consider this a documentation bug though. For these reasons:
1. ever since this was introduced, there's been a way to make the session
listen on the interface and port you want at construction time.
2. It's a cleaner API to avoid having the possibility of a half-constructed
session (i.e. one that hasn't had listen_on() called on it yet).
3. listen_on() will be deprecated in the next major release, and the only
(non-deprecated) way to construct a session is by passing in settings to the
constructor (which is a more flexible way of solving all race conditions
between starting the session and setting the settings).
I have updated the documentation for the next stable 1.0.x release.
Original comment by arvid.no...@gmail.com
on 31 May 2015 at 9:32
Original issue reported on code.google.com by
reefiasty
on 20 May 2015 at 11:19