Re: [fpc-pascal] a queried interface destroyed after writeln the address of it

2012-08-23 Thread ZAN DoYe
thank you:) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] a queried interface destroyed after writeln the address of it

2012-08-22 Thread ZAN DoYe
I don't know if it's an undefined behavior or a bug. The environment is fpc 2.6-bugfix branch x86-64 linux. See the details in the attached code program t2; {$mode objfpc} uses sysUtils; type ip= interface ['{f0cea771-a3f1-4223-bea2-c46c5f0f61fa}'] end; iq= interfac

Re: [fpc-pascal] FPC and IPv6, and BSD

2012-07-26 Thread ZAN DoYe
On 2012-07-23 21:51, Mark Morgan Lloyd wrote: I'm trying to write a simple finger daemon, capable of both IP4 and IP6. At present it's using an unprivileged socket so as to avoid problems on unix platforms. I appear to be having problems at the bind() call for IP6 (returns -1), which I suspec