[fpc-devel] https support; call for testers

Marco van de Voort marcov at stack.nl
Mon May 12 10:04:01 CEST 2014


In our previous episode, Michael Van Canneyt said:
> >
> > { these for are for netdb legacy compat}
> >
> > IIRC they were kept for 1.0.x compatibility, and the 32-bit unsigned support
> > of that was not so great. Moreover I didn't care enough to deprecate them,
> > but maybe we should.
> 
> Eh, what are you talking about ? HostToNet ? 

Yes. That's also the part that carried the "netdb legacy" comment.

> The 'On all platforms' was referring to 's_addr is cuint32'.
> 
> > The newer (1.9.2+) htons etc functions (introduced with that name for Kylix
> > compat) are unsigned.
> 
> We could deprecate HostToNet and let it call htons.

Yup. Same for short* etc. I'll deprecate them when I have time somewhere
today, and then will try to fix all warnings to the new ones.



More information about the fpc-devel mailing list