Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Help with Lorcon XS library

by Bpl (Scribe)
on Jul 24, 2020 at 18:24 UTC ( [id://11119770]=note: print w/replies, xml ) Need Help??


in reply to Re: Help with Lorcon XS library
in thread Help with Lorcon XS library

Hi again, finally I found a way for obtaining a "safe script", I added the function drv_madwifing_init from drv_madwfing.h
use Net::Lorcon2 qw( :subs ); my $drv = Net::Lorcon2::lorcon_find_driver( "madwifing" ); my $Lorcon = Net::Lorcon2::lorcon_create("wlo1", $drv); print drv_madwifing_init($Lorcon); print Net::Lorcon2::lorcon_open_inject($Lorcon);
It's seem that initializating the madwifing device there is no error ( intended as core dump), the output of the program is 1 and -1, this means that  drv_madwifing_init works, while lorcon_open_inject doesn't and it returns an error value ( still better than a core dump!) Regards Edoardo Mantovani.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-25 03:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found