Is there a Java-applet implementation of HTML5 WebSockets?
I'd like to use WebSockets for a new project, and provide a backward compatible implementation of WebSockets (for all current non-dev browsers) using Java ... |
With Java 1.6.0.22 i'm not able to open a socket to localhost, the applet is unsigned and is being loaded from the webserver http://localhost/myapplet
If i load it from my ... |
I have to send an image over a socket . so I, the client convert the image to a bytearray and send it as such.
The server.. being the applet recieves the ... |
hello Angela Jessi its security policy of VM which doesnot allow applet to make a socket with server on client machine.... any how if we would change the policy of VM or award permissions to browser or VM then it would be possible to get connected with server... plz tell me if U get some more stuff in this regard |
|
|
|
|
|
|
|
|
|
hello, please see this code. when i run this program it produces strange result. what is wrong with this? it works fine for the first time. i mean when i type some thing in the text field the server response and shows it in the textarea, but i can't write it for the second time. please make neccessary changes. thank you. ... |
i have made a simple client server appl. in which the server is a simple Java program , the client is an Applet. but it is unable to do so if the client-server are on two diff. machines(The client is unable to connect to the server socket) . if they r on the same machine using the loopback address(127.0.0.1) we r ... |
Hi! I have an Applet that makes a Socket Connection to a server running on port 9999. I have this working good on all windows OS through a dialup. But thru one behind a firewall.. the Applet is not able to make a socket connection and throws a NoRouteToHostException; when it is a WindowsNT 4 Workstation with SP5.. but on a ... |
|
Thanks for reply, I looked further into it. There are actually two connections. One is a regular socket, and the other is a datagramsocket which passes UDP packets. They're both closed at the same point in the program. It seems to be some conflict with the DatagramSocket class and linux, because once again, it works in windows, but not linux. So ... |
|
Your suggestion, by itself, does not work (I think). I do not think applets, even though downloaded from the server by the client, have the privilege to write files directly to the server. I believe you still need something on the server side to talk to the applet and that something will write the file on the server side. Am I ... |
|
|
|
Hi, I realise that Applets automatically perform reverse DNS lookup when they receive packets for security reasons and I know that I can set trusted proxies. However I need to completely disable reverse DNS lookups being performed for performance reasons (as they will always fail on the system they are deployed upon and cause a delay as each lookup times out). ... |
Hi All, Ive been the forum for a solution to this problem but couldnt find one, I hope you can help. I am trying to run a socket client within an applet. I got the applet connecting to the serversocket when the serversocket is run on the same machine as the applet. I read that to connect remotely to the applet ... |
|
Thanks but it doesn't help. Can somebody please explain. I have opened a port in my firewall to communicate from server to client and vise versa. If the client is behind a firewall at my client do they need to open the same port in their firewall... And if so... can somebody please explain. The client is a java applet. // ... |
Hello, I'm writing a small Http Server and have couple questions. Does HttpServer that provides also Applets need any special support for socket programming? I have used sockets and streams in my HttpServer and noticed that html pages and images are handled well but what comes to Applets there are couple things that I don't understand. When Html page has Applet ... |
Hello, I hav Written a simple chat application using applet and socket programming. My application consists of one Applet(Client program) which establishes connection to the server program (standalone application runs on port suppose on 1080).I tested on my machine It works fine. So I copied the client applet class file to other machine and tried to establish connection between applet running ... |
I am trying to make a socket to a server. The code below works in a regular program, but when I paste it into the init method of my applet, it has an error. try { Socket Sockets = new Socket (server, port); PrintWriter Out = new PrintWriter (Sockets.getOutputStream (), true); BufferedReader In = new BufferedReader (new InputStreamReader (Sockets.getInputStream ())); Out.println ... |