commit | d493331d47dc2e81986ba44f154981224713a56c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Jun 07 12:03:48 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Jun 08 14:42:15 2022 +0200 |
tree | 02ebe60df89540419418f41933739aa60fa113f2 | |
parent | cb284c7a62ff57eb5d05eed8da300c3b3b8961b8 [diff] |
DEV: tcploop: add a new "bind" command to bind to ip/port. The Listen command automatically relies on it (without passing its argument), and both Listen and Connect now support working with the existing socket, so that it's possible to Bind an ip:port on an existing socket or to create a new one for the purpose of listening or connecting. It now becomes possible to do: tcploop 0 L1234 C8888 to connect from port 1234 to port 8888.