On Thu, 9 Jun 2022 at 16:02, David Tàpia <[email protected]> wrote: > > It would be appreciated if you could consider add this feature in > Protocols.HTTP.Query > > > //! You may specify an address to bind to if your machine has many IP numbers. > string address = 0; > ... > con = Stdio.File(); > con->open_socket(-1, address, server); > ... >
Seems reasonable, although unusual. Possibly the easiest way to go about it would be to find all the places where a Stdio.File() is constructed (there seem to be four of them) and wrap that in a function, so you can then subclass Query and replace that one function with one that calls open_socket explicitly. ChrisA
