[fpc-pascal] Re: cannot make debugserver

Ewald bloody.middlefinger at yellowcouch.org
Wed Nov 7 22:34:36 CET 2012


On 11/07/2012 10:06 PM, Marco van de Voort wrote:
> 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.
Yep, that about says it :-) I didn't know it was actually documented
though...

-- 
Ewald

Events don't necessarily happen in chronological order; yet somehow they do persist to happen. Sometimes.




More information about the fpc-pascal mailing list