[fpc-pascal] fprecvfrom for IPv6?

2015-08-02 Thread Klaus Hartnegg
Hello, How can fprecvfrom work with IPv6? It returns the address of the sender in a record sockaddr, which only has space for an IPv4 address. http://www.freepascal.org/docs-html/rtl/sockets/fprecvfrom.html Is there an undocumented variant in which psockaddr points to sockaddr_in6 instead

Re: [fpc-pascal] fprecvfrom for IPv6?

2015-08-02 Thread Michael Van Canneyt
On Sun, 2 Aug 2015, Klaus Hartnegg wrote: Hello, How can fprecvfrom work with IPv6? It returns the address of the sender in a record sockaddr, which only has space for an IPv4 address. http://www.freepascal.org/docs-html/rtl/sockets/fprecvfrom.html Is there an undocumented variant in