Ticket #49 (new defect)
Outgoing connections should have an option for the IP to bind to
| Reported by: | smoku | Owned by: | smoku |
|---|---|---|---|
| Priority: | major | Component: | General |
| Version: | 2.1 | Keywords: | |
| Cc: | Tracforge_linkmap: | ||
| Blocking: | Blocked By: |
Description
I've got a server with several IPs. The default IP doesn't have a global route, but another IP it has does. There should be a config option for which IP outgoing connections bind() to before connect()ing for s2s. int mio_connect(mio_t m, int port, char *hostip, mio_handler_t app, void *arg) is probably the place to make the change, althoug that's called by all the _connect functions so maybe there needs to be a few prefs.
Change History
Note: See
TracTickets for help on using
tickets.
