I believe your question is not related to the Intel® Edison Platform. If you have a question about the Intel® XDK, I'd suggest you to post it in Intel® XDK, you should get a more accurate response in there.
Many thanks for the answer Peter
Yes, the socket.io I´m doing is with the Edison and the app is developed with the XDK iot. Is the second time I post the question here I will search in the intel XDK forum
Have a good day