[fpc-pascal] fpsocket error

Michael Van Canneyt michael at freepascal.org
Wed Aug 19 13:38:25 CEST 2009



On Wed, 19 Aug 2009, Евгений wrote:

> Henry Vermaak пишет:
>> 2009/8/18 Евгений <sem-evgen at rambler.ru>:
>> 
>>> Socket error[38]: Function not implemented
>>> 
>> 
>> Try and write a short c program to test socket support in the kernel.
>> If it fails, maybe you need to re-configure (try `make menuconfig`)
>> and re-build your kernel to make sure that socket support is included.
>>  If the c program works, fpc might be at fault.
>> 
>> Henry
>> _______________________________________________
>> 
>>
>> 
> Thank you for your advice, I tried. A simple socket program written in C 
> works. Now I don't know what to do with Pascal, i don't want to rewrite my 
> large program in C.

Can you do a strace of the C and the FPC program and compare them? 
Maybe the C library uses some other calls than the FPC program ?

Michael.


More information about the fpc-pascal mailing list