DaveMonk:
You don't show enough code for me to be sure, but here are a couple things:
- You don't show a new connection attempt in your loop, so why would you expect the salutation more than once?
- Are you certain that your sending script is actually sending something every time? Perhaps it's sending a null buffer ever seven tries or so?
...roboticus
When your only tool is a hammer, all problems look like your thumb.