Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17089

Help understand SocketIO

$
0
0

@sefiroths wrote:

Hi, I have made a server using netty and a java client (it works).
Now I'd like to make a connection with SocketIO copying from ccp tests (cocos 3.8.1) but I have this result:

SIOClientImpl::handshake() failed
error buffer: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.
SocketIOTest::onError received: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

the only thing I have written is:

SIOClient *sio = SocketIO::connect(*this, "ws://localhost:8992");
sio->send("Hello Socket.IO");

Should I implement something particular in server side?
any help is appreciated
thanks

Posts: 9

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 17089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>