websocket

Java Websocket Client with PHP WebSocket Server?

Can a WebSocket client written in java connect with phpwebsocketserver? Or do you have to have both client and server implemented in the same language? Thanks. ...

Is there a way to connect 2 browsers without a server? Maybe with Websockets?

I'm looking for a way to connect 1 browser to another without having to incur the network delay of having a server in between. It doesn't look like HTML5 WebSockets will work because I couldn't find a way to listen for connections in Javascript, only establish a connection. Does anyone know how to do this? (Connect 2 browsers directly?...

Jetty - What is the difference between WebSocket.sendMessage(String data) and void sendMessage(byte frame,String data) ?

I am playing around with websockets and Jetty 7.1.6.v20100715. I have a few questions, mostly because of the lack of info/explanation about these methods. 1st) What is the byte for in sendMessage(byte frame,String data). 2nd) Is there any reason for outbound.sendMessage(string) not to work if invoked from the WebSocket.onConnect() me...

HTML5 Web sockets (TCP Connection), with flash fallback

Hi, I read about a project that enables the developer to program a HTML5 web sockets application that is compatible with older browsers by automatically falling back to using a flash method. Can anyone source this, as I can't find details now I'm interested in starting development? Thanks! ...

How to add the binary of a int with the binary of a string

Basically i want to be able to get a 32bit int and attach its binary to the binary of a string. E.g. (IM going to use 8bit instead of 32bit) i want 255 + hi 11111111 + 0110100001101001 = 111111110110100001101001 So the int holds its binary value,i dont care how it comes out i just want it to be able to send the data over a socket. (This...

WebSocket WCF Transport Binding

I recently discovered WebSockets and their possible usage in my project. Currently, I use raw web sockets, but I have been exploring the possibility of making a custom transport binding/channel that would handle everything and allow me to host it in IIS. I've started work on this, but I'm having issues figuring out how to get IIS to for...

Reconnection of Client when server reboots in WebSocket

Hi, I am using web socket using PHP5 and chrome browser as client. I have taken the code from this site (http://code.google.com/p/phpwebsocket/) I run the server and client is also connected. I can chat as well. Now when I restart the server ( by killing it and starting it again ). Client gets the disconnected information but automatica...

If i connect to a python websocket will it start a new script or connect to a daemon

Clue is in the name. When a websocket connects will it connect to run a new script or start a daemon, if it does start a new script is there a way to pass it on to a daemon script ? Thankyou ! Finished I dont know what the answer to my own question is but i just set up a deamon to run on its own port. ...

HTML5 WebSocket on iPhone 3GS

Hi, I'm developing a web app that needs to use HTML5 websockets. Is there any way of incorporating a javascript-based library to interface with my WebSocket server, when the browser doesn't support the WebSocket protocol? I've seen some Flash-based fallbacks, but I don't believe the iPhone supports Flash? I'm using iPhone OS 4.1 and ...

Apple IOS & Lack of HTML5 WebSockets Support

Why won't Apple support websockets on IOS Safari? This is really annoying for me... I'm now looking at having to implement a Comet/Bayeaux fallback for browsers that don't support HTML WebSockets ;( ...

websocket for binary transfer of data & decode

I was reading through the specification and many examples about usage of websockets. Almost all of them talk about UTF-8 or ascii message transfer using websockets. The latest Hybi websocket spec requested support for binary transfer. REQ 6 in hybi spec Also i read somewhere that chrome supports hybi. But latest release Chrome 7.0 wor...

Is it possible to make a WebSocket connection in Silverlight?

Is it possible to make a WebSocket connection in Silverlight? Or if not, does anyone know whether this is scheduled for future versions? ...

Socket.IO / Node.JS / Rails 3 / IE

This is a bit complicated but here goes. I have a Rails app that has a small JS widget that gets updated on some backend processing stuff. The Rails app queues up a job in Redis (via Kthxbye) which gets processed and then once completed, fires off a redis publish message. This channel is being watched by a Node.JS server which is respon...

WebSockets in Python3.1 handshake problem

i am using python3.1 ,so i found a html5 websocket snippet here: http://www.nublue.co.uk/blog/threaded-python-websocket-server-and-javascript-client/ I test with chrome. After send handshake packet,web client has no response as expect(websocket.onopen is not fired).I do receive client's request. .i tried many times.It just not work. ...

websockets & VPN

I understand that websocket is still being worked on. Now, I don't know if what I'm considering is even technically possible but I'm just bouncing off ideas. What I'm thinking of is a client less SSL VPN using websockets. Is it possible to create a websocket & redirect all the traffic from the browser (on that particular site/domain) t...

Google Feed API V2 aka push vs Channel API vs WebSocket

Does anybody knows when will feed v2 leave trusted tester stage? There are some usecases of feed v2 that overlap with Google Channel API, so I don't quite get point of releasing feed v2, instead of switching to channel API entirely. Is this due to smoother transition towards Web Socket API ? or I miss some point :) ...

Is there a browserless websocket client for Node.js that does not need to use a browser?

Socket.IO, etc all require the using of browser on the client side....just wondering, how can we have browserless websocket client for node.js ? ...

How can i do a client to client (browsers) socket connection?

I have been thinking about building a client to client program. But the way I want is to use the broswer to do it, helped by a server that can make that connection. The troubles comes when I need to have an unnconected socket (or pasive) in a client, waiting for a connection. I have been thinking about Html5 WebSockets, but it doesn't...

Real time apps: Socket.io vs Pusherapp

What are the factors you would consider when choosing between Socket.io and Pusherapp? http://Socket.io http://pusherapp.com Important considerations includes: integration w existing systems like rails/django, ease of setup, ease of development ...

HTML5 Websocket and ISA Proxy issue

Hi, I'm not an expert in ISA server, my issue is the following: var wsUri = "ws://192.168.1.7:8887"; websocket = new WebSocket(wsUri); these two lines work fine. But when I try to get 192.168.1.7 from the external computers I set up rule in ISA server: websocket.domain.com -> (redirect to 192.168.1.7, bridging = redirect request to H...