|
|
| XP is just a number | |
| PerlMonks |
Troubles with Complex Data Structuresby madhatter (Sexton) |
| on Jan 22, 2001 at 21:54 UTC ( [id://53608]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.madhatter has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to get information from port 43030 and forward its contents to other IP:Ports. My problem is that the loop runs twice, but uses the first "forward to" IP and port both times.
I can receive data fine, and it forwards information (be it twice to the same IP/port, but my socket code _does_ work)
I don't usually mess with complex data structures because of problems like this. Once I get this worked out though, and I can loop through different layers, I think they'll come in handy. Any help on how to get it to loop properly would be greatly appreciated. Note: I'm using extra variables to try to make things easier. ($tip = temporary IP) I realize the code sucks. I haven't cleaned it up yet.
Thanks for any help you could offer,
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||