Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Multi Threading help

by renodino (Curate)
on Feb 28, 2008 at 19:12 UTC ( #670988=note: print w/replies, xml ) Need Help??


in reply to Multi Threading help

Piggybacking on sundialsvc4's comment:

DHCP is a UDP based protocol. As such, its not really neccesary to open 1000 socket connections. Just fire off as many UDP packets as you can from N threads/processes, where N << 1000.

But be prepared to lose a few packets... regardless which solution which choose.


Perl Contrarian & SQL fanboy

Replies are listed 'Best First'.
Re^2: Multi Threading help
by drip (Beadle) on Feb 29, 2008 at 02:17 UTC
    thank you for the reply...can you give a sample code for that please...just for the threading part..
      use the search

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://670988]
help
Chatterbox?
[Rabbi Bob]: Doesn't eat them, just snaps, kills, drops and moves on.
[thezip]: Efficient, that one.
[erix]: my dog could do the classic mouse jump (never caught a mouse :)
[erix]: he caught a hare once (must have been a young one...)
virtualsue uses arcane git commands to resurrect a file, gets it back into shape and quits for the day
[GotToBTru]: a few years ago, when we had 3 dogs, the largest of them caught a chipmunk, but did not know what to do with it other than hold it in his mouth
[GotToBTru]: my wife told him to spit it out, so he did
[erix]: yeah, modern dogs are cute tjhat way :)

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (15)
As of 2017-11-17 20:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (272 votes). Check out past polls.

    Notices?