Perl has a setsockopt call where you can set the LEVEL:
setsockopt SOCKET,LEVEL,OPTNAME,OPTVAL
Sets the socket option requested. Returns
undefined if there is an error. OPTVAL may be
specified as "undef" if you don't want to pass an
argument.
I assume that the arguments would be the same as the corresponding C call. | [reply] |
Maybe you are aware of this but generally routers turn off the option to allow source routing. It's been done for years, practically since the Internet was widely available. I don't think you will get much out of doing source routing. | [reply] |
Okay, have you tried 'Super Search?'
I typed - IO::Socket - in the search box, and after some brief reading, found the following:
sockopt(OPT [, VAL])
Unified method to both set and get options in the SOL_SOCKET level. If
+ called with one argument then getsockopt is called, otherwise setsoc
+kopt is called.
a little follow up to perlman:PerlFunc , brought me here , which shook loose the following:
usage: setsockopt SOCKET,LEVEL,OPTNAME,OPTVAL
And Finally, From a Super Search document found here I found out that more info might be available from the C man pages from which the Modules are based.
The options for setsockopt/getsockopt are in setsockopt(2).
C-.
| [reply] [d/l] [select] |