[fpc-pascal] Can't compile nested generics type

2010-01-05 Thread leledumbo
I'm using FPC 2.5.1 downloaded a few days after 2.4.0 is released, and according to 2.4.0 changelog, nested generics type support has been done. However, I can't manage to compile this: type generic TAClass = class type private TNextAClass = specialize TAClass; end; Do I miss something

[fpc-pascal] Generics problem/question

2010-01-05 Thread Honza
Hi all, I tried to specialize fgl.TFPGList with some record type and got a compiler error. Am I doing something completely wrong (sorry in that case) or is this a bug? (Ubuntu 9.10, 64 bit) 22:35 myn...@tux64:~/fpc/bugreports/20100105$ cat project1.pas program project1; {$mode objfpc}{$H

Re: [fpc-pascal] Help Reading SIP Messages.

2010-01-05 Thread ik
use libpcap (and bind it to FPC and share with us all :)) and then you can sniff packets (that's the easiest way I know). Ido http://ik.homelinux.org/ On Tue, Jan 5, 2010 at 16:48, lloyd thomas wrote: > Also came across this which uses pcap, but seems to be delphi only > http://www.magsys.co.u

Re: [fpc-pascal] Help Reading SIP Messages.

2010-01-05 Thread lloyd thomas
Also came across this which uses pcap, but seems to be delphi only http://www.magsys.co.uk/delphi/magmonsock.asp is there something similar for fpc? 2010/1/5 lloyd thomas > OK. I wish to monitor and record calls between a SIP endpoint and SIP > Gateway. At the moment I am doing that by connecti

Re: [fpc-pascal] Help Reading SIP Messages.

2010-01-05 Thread lloyd thomas
OK. I wish to monitor and record calls between a SIP endpoint and SIP Gateway. At the moment I am doing that by connecting the SIP endpoint and my machine to an ethernet hub so that I can see all the traffic. In the first instance I just need to correctly capture, read and interprete the SIP messag

Re: [fpc-pascal] Help Reading SIP Messages.

2010-01-05 Thread ik
Hello, SIP first of all uses UDP most of the times (and rarely TCP) . It only create a tunnel that other protocols such as RDP and SDP are going inside. Can you explain a bit more what exactly do you wish to implement (i'm not sure that I understand) ? Ido http://ik.homelinux.org/ On Tue, Jan

[fpc-pascal] Help Reading SIP Messages.

2010-01-05 Thread lloyd thomas
Please forgive my ignorance regarding the project I am about to embark on. Need some advice on Lnet and capturing SIP RTP data to file. In the first instance I just need to work with the sip messages. I believe the SIP messages are similar to HTTP. I am using wireshark to understand how the SIP mes