Gottox / socket.io-java-client

Socket.IO Client Implementation in Java
MIT License
950 stars 387 forks source link

xhr polling doesn't work #40

Open erelsgl opened 11 years ago

erelsgl commented 11 years ago

In my server, I have to limit socket.io to xhr-polling only (in order to support MSIE):

    io.set("transports", ["xhr-polling"]);

When I do this, the Java client cannot connect to the server - the server sees that a new client connects, however, the client gets no messages from the server.

fatshotty commented 11 years ago

maybe, you could set your server working with websocket and xhr-pollig I've set my sever:

io.set("transports", ["websocket", "xhr-polling"]);

in order to make IE works and also all others client such as Chrome/FFx/Safari and my socket.io-java-client application working Hope this can help

erelsgl commented 11 years ago

When I do this, old IE clients cannot connect to my server...