Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Net::Pcap and windows

by PodMaster (Abbot)
on Apr 24, 2003 at 12:24 UTC ( [id://252864]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #include "pcap.h"
    #ifdef WIN32
    ...
    #include "perl.h"
    #include "XSUB.h"
    //#include <pcap.h> used to be here (D'oh! i should've just done a dif
    +f)
    
  2. or download this
        'INC'          => q[ -IE:\new\wpdpack_3_0\wpdpack\Include ],
        'LIBS'         => [ q[ -LE:\new\wpdpack_3_0\wpdpack\Lib -lwpcap.li
    +b ] ],
    
  3. or download this
    Pcap.c
    Pcap.c(749) : warning C4047: 'function' : 'struct _PerlIO ** ' differs
    + in levels of indirection from 'struct _iobuf *'
    Pcap.c(749) : warning C4024: 'Perl_do_open' : different types for form
    +al and actual parameter 8
    
  4. or download this
    FILE *
    pcap_file(p)
        pcap_t *p
    
  5. or download this
    XS(XS_Net__Pcap_file); /* prototype to pass -Wmissing-prototypes */
    XS(XS_Net__Pcap_file)
    ...
        }
        XSRETURN(1);
    }
    
  6. or download this
    INPUT
    T_IN
    ...
            else
            $arg = &PL_sv_undef;
        }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://252864]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-16 07:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found