TCP Header lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- gilsonalencar · 2010-12-30 23:19 Is there anyway to read a TCP or UDP field using some Lazarus network component? I'm interesting in to access a particular field of TCP or UDP header. ---------------------------------------------------------------------- cpalx · 2010-12-31 02:55 try Synapse or Lnet ---------------------------------------------------------------------- marcov · 2010-12-31 15:38 Afaik  this is more PCAP work ---------------------------------------------------------------------- gilsonalencar · 2010-12-31 17:34 Synapse and LNET appears to have no resources to access a TCP or UDP headers as libpcap for C++ and jpcap for Java. ---------------------------------------------------------------------- marcov · 2010-12-31 17:57 Quote from: gilsonalencar on December 31, 2010, 06:34:02 pmSynapse and LNET appears to have no resources to access a TCP or UDP headers as libpcap for C++ and jpcap for Java. libpcap is afaik C, and a header in FPC could be written (or recycle one for Delphi) ---------------------------------------------------------------------- gilsonalencar · 2010-12-31 20:00 So, is it possible to write a program into lazarus using methods (with codes written in c) available in the libcap? ---------------------------------------------------------------------- marcov · 2010-12-31 21:15 Quote from: gilsonalencar on December 31, 2010, 09:00:11 pmSo, is it possible to write a program into lazarus using methods (with codes written in c) available in the libcap? Technically, yes. ---------------------------------------------------------------------- gilsonalencar · 2011-01-03 21:31 Thanks for all information. I will investigate the possibilities. Happy New Year