Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Java Applets support socket but limits the connection towards the
http server from which the applet has been downloaded.
Why a WebSocket abstraction has been created for sending data
from Javascript/HTML 5 ? Wouldn't have been possible to add support
for a “classical” socket in JS and limit the connection (as it
has been done for Java Applets)
Because WebSocket starts as a HTTP request, therefore it is easier to go through firewalls and other inspectors. Also, such HTTP negotiation can do HTTP operations like sending/retrieving cookies from the browser for example, which provides a nice integration with the rest of the web application.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Good day stackoverflow. Presently I have a java server program which communicates with the client application through sockets(using the java ServerSocket and Socket classes). But I intend to develop another client application with an interface for configuring the server application, for which I would like to use RMI(Remote Method Invocation).
The question now is: is it possible and safe to use RMI in a java server program in which ServerSockets and Sockets are also being used? I am familiar with sockets good enough but new to RMI. I have gone through RMI documentation and other sources but got no answers yet. Please I would be obliged if someone can help
Yes, no problem. Just make sure you are not using the same sockets.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I have coded up socket code for the server side in python.
How do I code the client-socket code for a browser ?
If you use standart WebSocket on the server, then you may use any standart WebSocket on the client side.
For example, here is how to make a WebSocket client with jquery
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
How to prevent HTTP response splitting attack?
HTTP Response splitting allows an attacker to manipulate the response received by a web browser. is there any way to prevent this kind of attack from perl.
As usual. Do not trust any data received from user.
If you need to include some data from user to the headers use uri_escape() or other appropriate mechanism which will escape unsafe data.
Don't put unsanitized data into headers (e.g. redirects or cookies).
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Is it possible to install and run ejabberd on localhost (with localhost as domain) and connect to this from a client to experiment with client functionality?
The reason that I want to do this is to be able to play around with extensions that are not available on for example jabber.org.
It is indeed possible. If you use binary installer from ProcessOne, you are even asked by installer the domain name you wish to use.
sure its possible,and really easy too. You can use any xmpp server for that like openfire or ejabberd. And Thse servers have user friendly web interface for administration.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
What end-user clients (not libraries) expose XMPP XEP-0060 to users right now?
tkabber
I'm not sure about Tkabber, but there are various clients that'll let you play with PubSub. None of them exposes innovative user interfaces that leverages the unique concepts of PubSub : they are mostly developer tools for basic CRUD in the service discovery node tree. But maybe this is just what you need...
Instant messaging clients with PubSub service discovery :
Miranda
Psi
Specialized PubSub administration clients :
PubSubClient
x60br