• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
libpcap in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libpcap in Cocoa


  • Subject: libpcap in Cocoa
  • From: Ivan Myrvold <email@hidden>
  • Date: Sun, 19 Aug 2001 23:12:02 +0200

I found a tutorial on the net, for capturing packets with libpcap. I thought I would try out the tutorial with a graphical user interface, i.e. Cocoa.

The GUI of it was straight-forward, but I have some problems with compiling the project.

I added the file pcap.h in PB, and added #import "pcap.h" to my MyWindowController.m file. But when I compile it, I get

warning prebinding disabled because of undefined symbols
Undefined symbols:

The project compiles when I am commenting out

dev = pcap_lookupdev(errbuf);
and
ret = pcap_lookupnet(dev,&netp,&maskp,errbuf);

But these are defined in pcap.h

What am I doing wrong here?

Ivan


  • Follow-Ups:
    • Re: libpcap in Cocoa
      • From: "Todd Heberlein" <email@hidden>
  • Prev by Date: Re: Windows that change contents
  • Next by Date: We having fun yet with AuthorizationExecuteWithPrivileges?
  • Previous by thread: Re: Windows that change contents
  • Next by thread: Re: libpcap in Cocoa
  • Index(es):
    • Date
    • Thread