[fpc-pascal] Return value of StrToHostAddr and StrToHostAddr6 in sockets unit

Noel Duffy noelduffy at xtra.co.nz
Wed May 13 12:45:25 CEST 2020

On 13/05/20 9:24 pm, Bart via fpc-pascal wrote:
> On Wed, May 13, 2020 at 10:40 AM Noel Duffy via fpc-pascal

>> As I've already learned the hard way, the sockets unit is compiled in
>> "fpc" mode, so there's no "out" parameters. Otherwise I would definitely
>> have used one.
> {$modeswicth out} perhaps?

I didn't know this existed. I'm not sure of the implications of its use, 
though, so I would like to get the opinion of more experienced FPC 
developers before I use it.

More information about the fpc-pascal mailing list