I must be being dense since there is a thread already on this forum where you state you do. I think you even state you have tested a websocket to
and it works fine. What did I miss? The code you posted is below:
Yes you can, but don't use CF.request() if you want to use true websockets.
Instead, use the actual HTML5 websocket interface that you can access from your
iViewer Javascript code. It is the exact same interface that you use from HTML pages,
therefore you can do a:
var socket = new WebSocket("ws://
192.168.0.100");
socket.onopen = function() {
// your code here
};
socket.onmessage = function(msg) {
// process received data here
};
socket.onclose = function() {
// process close here
};
socket.onerror = function(err) {
// process error here
};
Florent