On Sat, 26 Oct 2019, Rainer Stratmann wrote:
https://www.freepascal.org/docs-html/current/rtl/sockets/fpbind.html Is there an example for IPV6? function fpbind( s: cint; addrx: psockaddr; addrlen: TSockLen ):cint; I guess psockaddr is different in IPV6 version.
No, it does not have to be.. The addrlen will differ of course. That's why it is there to begin with. Maybe an overload could be added, I would need to look into this to see if
it is required. Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal