This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, Can anyone tell me why we cant use socket connections in browser? is there any way we can use sockets in browsers? i have made one application of chat which works well as an application. can i use that application using browser ofcoourse with necesary changes? Thx HArry
Harry The browser will let you make socket connections, but only to the box the applet was served from. If you need to open up a socket on another box, you will have to write a server side application that your applet can connect to. Tony.
Can u pls explain wat do u mean by box here. its Urgent
Originally posted by tony casey: Harry The browser will let you make socket connections, but only to the box the applet was served from. If you need to open up a socket on another box, you will have to write a server side application that your applet can connect to. Tony.
Joined: May 15, 2001
I meant a computer, or more specifically an IP address. The box the applet is served from will probably be a UNIX machine where your web server is running. It is only to this IP address that an applet can connect to via a socket. Connections to other IP addresses can be made, but only via a server side application.
Hi, You can do anything you think, but unfortunately the browser is not written by you, so it will stop playing foul for the sake of security. cheers start hacking a browser try lynx its cool(lynx is a text based browser) btw Applets are stored into your RAM not on ur disk when they run. You may download the class files and then run but unfortunately you have to make 'B' machine your server inorder to connect to 'B'... cheers Srikanth
Originally posted by karl koch: tony, can i connect to a other box (:-)) if i grant more rights to the applet. eg. i download applet from A, and connect then to B. karl