Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^2: Answer to a UDP Broadcast is ignored

by Anonymous Monk
on Apr 30, 2013 at 07:17 UTC ( #1031340=note: print w/replies, xml ) Need Help??

in reply to Re: Answer to a UDP Broadcast is ignored
in thread Answer to a UDP Broadcast is ignored

Thank you very much! Alltough your code doesn't work this way, you gave me the right hint:
The way your code works i have a problem that i open the same socket twice. That don't work.
I tried "ReuseSocket", but it seems my OS (Linux MINT) doesn't support that. So first i opened the Socket, send my Broadcast, closed it an reopened the socket the way you suggested. I'm aware that if the card answers to fast i will have a Problem cause my socket may not be open at that time... i'll have to do some testing.
But know i receive the Answer and can extract the strings i'm looking for.

Thanks again!

  • Comment on Re^2: Answer to a UDP Broadcast is ignored

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031340]
[james28909]: yes
[Lady_Aleena]: And you see how the first two are vastly different than the third, right?
[james28909]: it would be to much work just to get around renaming three subs lol
[james28909]: but you could put it all in one sub and return the same data type that was inputted. i could write a small example maybe

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2017-05-24 05:04 GMT
Find Nodes?
    Voting Booth?