Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Sending problem in UDP

by quester (Vicar)
on Dec 05, 2008 at 08:06 UTC ( #728222=note: print w/replies, xml ) Need Help??


in reply to Sending problem in UDP

It works for me without pressing return twice. This is under Fedora 9 Linux:
$ perl -w rdt.pl 10.1.2.3 12345 abc Name "main::proto" used only once: possible typo at rdt.pl line 15.

In a separate session:
# tshark Capturing on eth0 0.000000 nnn.nnn.nnn.nnn -> 10.1.2.3 UDP Source port: 51531 Des +tination port: 12345

Update: if the problem is somewhere in your Perl script, you could single step through your code in the perl debugger to find where it's hanging. On the other hand, I would suspect that you might be running it from a script that waits for a line of input from the user, for example with the bash read command.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://728222]
help
Chatterbox?
[stevieb]: Corion++
[jedikaiti]: RonW++ #I have so much accumulated in my memory that finding the right item at a given moment often fails
[LanX]: corion only > 800 lines
[stevieb]: ahhh you're talking about the actual Makefile, not the PP Makefile.PL
[Corion]: LanX: But most of that is just setup of variables to be used later, like CC , LIB etc.
[LanX]: yes and some builders try to avoid it
[RonW]: :)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-08-18 21:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (310 votes). Check out past polls.

    Notices?