please look at post #19
i edited the code and put in the line //----------- set socket ---------// so it is easy to find