[fpc-pascal] fpsocket error

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Aug 18 22:55:27 CEST 2009


On 18 Aug 2009, at 22:42, Евгений wrote:

> In application which i compiled for arm-linux platform, an error  
> occurs when calling fpsocket.
> Why fpsocket call can cause the error?

Type "man socket" on the command line and have a look at the "ERRORS"  
section. You can also do

   if fpsocket(..)=-1 then
     writeln(fpgeterrno);

to see what the specific error number is in your case (you can look up  
the meaning of those error numbers in /usr/include/asm-generic/errno- 
base.h and /usr/include/asm-generic/errno.h)


Jonas


More information about the fpc-pascal mailing list