Recent

Author Topic: free pascal unit sockets - can not find PF_PACKET constant  (Read 4573 times)

yantux

  • Newbie
  • Posts: 2
    • SimpleCalc from yantux
free pascal unit sockets - can not find PF_PACKET constant
« on: September 30, 2008, 01:26:00 pm »
I use unit sockets how describe it in rtl.pdf,
but free pascal compiler can not find PF_PAKET and ETH_P_ALL.

Free pascla compiler write that PF_PAKET and ETH_P_ALL is not exists.

What unit I must use for use PF_PACKET and ETH_P_ALL constants?
Best regards,
yantux.

yantux

  • Newbie
  • Posts: 2
    • SimpleCalc from yantux
RE: free pascal unit sockets - can not find PF_PACKET consta
« Reply #1 on: October 01, 2008, 12:38:00 pm »
http://bugs.freepascal.org/view.php?id=12272
Summary      0012272: probelm of PF_PACKET, ETH_P_ALL

rtl.pdf contain information that PF_PACKET and ETH_P_ALL defined in sockets unit.

Is not true, really PF_PACKET defined in libc unit,
ETH_P_ALL defined in kerneldefs unit.


http://bugs.freepascal.org/view.php?id=12273

Summary      0012273: probelm of PF_PACKET, ETH_P_ALL - libc and kerneldefs is not exists on win32 into lazarus installer
Description    libc and kerneldefs is not exists on win32 into lazarus installer

Summary 0012272: probelm of PF_PACKET, ETH_P_ALL
Best regards,
yantux.

 

TinyPortal © 2005-2018