src_add = inet_addr(SvIVX(Inline_Stack_Item(1)));
That takes the first stack item, the SVPV "192.168.1.1", and tries to treat it as an integer by calling SvIVX on it. It's not an integer, so this won't work. I'm not sure if it returns garbage or 0 or what, but it certainly can't be what you want!
-sam
In reply to Re: How to use Inline::C properly
by samtregar
in thread How to use Inline::C properly
by macli
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |