Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Net::Packet::Dump can't bless non-reference as 'IO::File'

by jeffguy (Sexton)
on Dec 07, 2005 at 23:38 UTC ( [id://515073]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       # Instanciate object, will start capturing from network
       my $dump = Net::Packet::Dump->new(
    ...
             do_stuff($frame);
          }
       }
    
  2. or download this
    bless(Net::Packet::netpacket_pcap_fp($self->_pcapd), 'IO::File')
    
  3. or download this
    FILE * netpacket_pcap_fp(pcap_t *pd){
       if (pd == NULL) return(0);
       else return(pd->sf.rfile);
    }
    
  4. or download this
    '_pcapd' => pcap_tPtr=SCALAR(0x896dde8)
       -> 144211632
    
  5. or download this
    struct pcap_sf {
        FILE *rfile;
    ...
        struct pcap_sf sf;
        ...
    };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://515073]
Approved by bageler
Front-paged by planetscape
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-25 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found