[fpc-pascal] Re: cannot make debugserver

Marco van de Voort marcov at stack.nl
Wed Nov 7 22:06:22 CET 2012


In our previous episode, Ewald said:
> Change all calls to  (I don't know if argument lists are the same, it's
> been a long time)
>     Listen() to fpListen()
>     ShutDown() to fpShutDown()
>     Socket to fpSocket()
>     Bind() to fpBind()
> 
> Prefix symbols:
>     Family, port and addr symbols with `sin_`

http://wiki.freepascal.org/User_Changes_2.4.0#Almost_all_old_1.0.x_socket_unit_functions_have_been_removed 

Some argument types changed from formal type to pointer, and return
values changes from boolean to integer. 

The description of the fp* function typically matches the one in socket
tutorials and man pages. The deprecated ones where FPC specific, specially
 wrt returnvalues and errorhandling.




More information about the fpc-pascal mailing list