Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

AF_UNSPEC sockets?

by Colonel Stumps (Initiate)
on Jan 16, 2009 at 18:38 UTC ( #736904=perlquestion: print w/replies, xml ) Need Help??
Colonel Stumps has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I'm trying to connect to a server using AF_UNSPEC sockets. Basically what I'm trying to do is create a socket of the AF_UNSPEC type, send information to the server, then read some back from the server. However, I have yet to find anything that works with AF_UNSPEC sockets. Do any of thy honorable monnks have any ideas? I'm not able to provide any code or anything because I couldn't get anything close. I'm probably missing something really simple. Could thy monks help? Thanks.

Replies are listed 'Best First'.
Re: AF_UNSPEC sockets?
by Illuminatus (Curate) on Jan 16, 2009 at 18:53 UTC
    Did you type 'AF_UNSPEC' into I see 3 packages that seem to support it in some capacity...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://736904]
Approved by andye
[msh210]: I think I just found a lie in perldoc.
[msh210]: warn: "If the last element of LIST does not end in a newline, it appends the same file/line number text as die does."
[msh210]: perl -e'warn "test$/", "" '
[msh210]: doesn't append anything.
[msh210]: It should say "If the last nonempty element of LIST" or "If the string thus to be printed does not end in a newline""
[msh210]: Am I wrong?
[shmem]: no. You're right.
[msh210]: About time... last time I was right was... I don't even remember when.
[shmem]: perl -e 'warn "test$/", ^@^ '

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2017-04-24 12:37 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (439 votes). Check out past polls.