websocket

C# web socket server

I'm trying to implement a C# web socket server, but its giving me a few troubles. I'm running a webserver(ASP.NET) to host the page with the javascript and the web socket server is implemented as a C# console application. I'm able to detect the connection attempt from the client (chrome running the javascript) and also to retrieve the h...

Web Sockets: Browser won't receive the message, complains about it not starting with 0x00 (byte)

Here is my code: import java.net.*; import java.io.*; import java.util.*; import org.jibble.pircbot.*; public class WebSocket { public static int port = 12345; public static ArrayList<WebSocketClient> clients = new ArrayList<WebSocketClient>(); public static ArrayList<Boolean> handshakes = new ArrayList<Boolean>(); pub...

Does google chrome frame support websocket?

Anyone know? Thanks! ...

Do WebSockets have exclusive access to their sockets?

I'm curious to know if, after a WebSocket has been established (after having received the proper handshake from a server that supports them), whether or not the TCP socket used by the "WebSocket connection" is used exclusively by the WebSocket, or if the browser may still make regular HTTP requests with it. It only makes sense to me t...

Can nginx be used as a reverse proxy for a backend websocket server?

We're working on a Ruby on Rails app that needs to take advantage of html5 websockets. At the moment, we have two separate "servers" so to speak: our main app running on nginx+passenger, and a separate server using Pratik Naik's Cramp framework (which is running on Thin) to handle the websocket connections. Ideally, when it comes time f...

kaazing websocket with gae

any demo on using kaazing websocket with gae? ...

How to use websocket to strengthen ajax?

HTML5 will be next super star. So~~~How to using new idea to implement AJAX on the WebSocket in HTML5 spec? thx.... ...

Firefox WebSockets

I've read somewhere that the trunk version of Firefox already had a WebSocket implementation. Nevertheless, I've just tried the 3.7a4pre without success. It still gives me the old "WebSocket is not defined" error message. Am I confused with WebWorkers? Using a flash-based WebSocket implementation is not an option. Please advice. ...

How to incorporate WebSockets into a Cocoa application

I am developing a Cocoa application which involves a chat element. One approach I've considered is using Websockets to handle client-server communication. This would be particularly desirable because chats will also be displayed on a website, and using Websockets could make the implementation very simple. So: would it be possible to use...

Connect to a website via HTTP in C

i have a C code that parses a file and generates another file for the processed data. i now need to send these files to a web server (website). i guess there way is to do a HTTP POST. but i have never done this in c (Linux gcc compiler in ubuntu). Does anyone know how to do this. i need to a starting point as i have no clue of doing this...

Is it possible to write a javascript SSH client that uses web sockets for transport?

Would it be possible to write a basic SSH client in pure javascript using something like orbited web sockets as the transport layer? I don't see any examples of this, but it seems like it would be a nice thing to have. ...

What's a simple way to web-ify my command-line daemon?

Suppose I have a simple daemon type script that I run on my webserver. I run it in a terminal, with gnu screen, so I can keep an eye on it. That works fine (incidentally, I use this trick). But now suppose I'd like to make a web page where I can keep an eye on my script's output. What's the easiest way to do that? Notes: This is main...

What is the fundamental difference between WebSockets and pure TCP?

I've read about WebSockets and I wonder why browser couldn't simply open trivial TCP connection and communicate with server like any other desktop application. And why this communication is possible via websockets? ...

WebSockets authentication

What are the possible ways to authenticate user when websocket connection is used? Example scenario: Web based multi-user chat application through encrypted websocket connection. How can I ensure (or guarantee) that each connection in this application belongs to certain authenticated user and "can't be" exploited by false user impersona...

Why Won't the WebSocket.onmessage Event Fire?

Hey guys, After toying around with this for hours, I simply cannot find a solution. I'm working on a WebSocket server using "node.js" for a canvas based online game I'm developing. My game can connect to the server just fine, it accepts the handshake and can even send messages to the server. However, when the server responds to the clie...

websockets protocols?

I couldn't find this online so I thought I'd ask here. What protocols can be used by websockets currently? (in chrome) Also does chrome or any other browser plan to support RUDP protocol for websockets eventually? Thanks in advance! ...

What's the best event push method from servlet to clients (esp. lightweight mobile ones)

This question must have been asked a thousand times but I couldn't find good high-level guide. I want to push events with a particular topic from a JMS (ActiveMQ, to be exact) as they occur, to clients that subscribe to listen to that topic. I don't have many assumptions about the clients, but I especially want to target mobile clients...

Loading Jscript files into Firefox extension

Hi ! Let's get directly to the problem : I'm actually doing a firefox extension in which i would like to implement the jWebsocket API in order to build a small chat. I got my main script file, named test.js, and the jWebsocket lib into a js folder. Just for you to know, this is my first firefox extension ever. So in my XUL file I got ...

Node.js and wss://

I'm looking to start using javascript on the server, most likely with node.js, as well as use websockets to communicate with clients. However, there doesn't seem to be a lot of information about encrypted websocket communication using TLS and the wss:// handler. In fact the only server that I've seen explicitly support wss:// is Kaazing....

Bachelor Thesis - Web Engineering WebSockets

Hey mates, I want to start my Bachelor Thesis in the next months but I'm still looking for ideas about a research topic. I like the Web Engineering field, and like to play with AJAX and Java. I also find the concept of WebSockets interesting. Does anyone of you has a nice research topic maybe on WebSockets otherwise on Web Engineering a...