in reply to Re: Check connection state prior to send data
in thread Check connection state prior to send data

What do you think this code does? $sock1  = shift; Ie. Where are you shifting the value you are assigning to $sock1 from?


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^3: Check connection state prior to send data
by Lucas Rey (Sexton) on Sep 26, 2016 at 08:02 UTC
    Thank you, that was a typo left there from previous tests. I modified my post with the right code. That one works perfect also with one or more parameters.