in reply to How to use Inline::C properly
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to use Inline::C properly
by macli (Beadle) on Mar 07, 2007 at 00:05 UTC | |
by ikegami (Patriarch) on Mar 07, 2007 at 01:29 UTC | |
by macli (Beadle) on Mar 07, 2007 at 18:46 UTC | |
by geekphilosopher (Friar) on Mar 07, 2007 at 02:48 UTC | |
by macli (Beadle) on Mar 07, 2007 at 18:56 UTC | |
by samtregar (Abbot) on Mar 09, 2007 at 17:48 UTC |