Skip Menu |
Report information
Id: 131766
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: alex.jakimenko [at]

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)

Subject: Specifying the source address of an outgoing connection using IO::Socket::*
It should be possible to specify the source address of outgoing (client) connections. This is especially useful if the machine has more than one IP address. Examples in other software: * wget supports --bind-address parameter: * Python accepts optional “source_address” parameter: * “bind before connect”, a blog post that seems to be relevant: * curl seems to allow it too, but surprisingly it can also accept the interface name: It is possible to find more examples of languages that support it, but I'm sold already. My best guess is that it is doable by simply calling uv_tcp_bind for outgoing connections. Relevant links: * *

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at