I am making some changes to old code this week, and I am getting annoyed with my method of socket communications... The old (working) code sent a series of values as a %-delimited string, which is then split on the receiving end into an array. Ugly!
So, I decided to rewrite it quickly to send and receive an array, and do away with the ugly %-delimited string. But it's not working. No errors on either end, but it hangs up the system. A half dozen Google searches later, and I've come to the conclusion that what I'm trying to do is not possible, and that %-delimited string is there for a good reason.
Does anybody here have insight into this? Is my assessment correct? Is there a better way than what currently works?
In reply to Send/receive array through IO::Socket? by wolfger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |