Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Transferring directly between two java applets?
I wanted to know if it is possible to directly transfer between two java applets? For example i have one computer with a java applet open and another with the same one open and i wanted the two of them to transfer a file with one another with out using a "middleman's" bandwidth and strictly their own their own bandwidth for the file transfer. Is this possible?
And if it is possible how can i do it? Any sample code or guides?
4 Answers
- ?Lv 71 decade agoFavorite Answer
Not possible (with an exception, see below):
While it is possible for an applet to open a connection to the host they originated from, they can not ACCEPT connections or listen for incoming datagrams. The Java security layer prevents an applet from binding to a local port.
When it comes to RMI, they can make calls, but they can't have calls made upon them (which is the same as accepting a datagram over the network).
Because of this, your applets will need to use a middleman to which they both connect to.
http://www.wutka.com/hackingjava/ch3.htm#NetworkRe...
BIG EXCEPTION TIME: The above can be worked around if you make your applets TRUSTED by digitally signing them. Here is an article on digitally signing your applet jars:
- ?Lv 45 years ago
a million. The motherboard contains a community Interface Card. it would have an ethernet port. 2. useful 3. PCI-e is quicker than AGP. they are 2 categories of connectors on a motherboard. 4. useful. 5. see you later as your motherboard has a PCI-e slot, the cardboard will artwork. setting up is very straightforward, uninstall your slicing-side photos applying stress and then skill down. Disconnect the present card (possibly one screw on the shrink back panel, if it quite is AGP, there may be a sliding retainer clip on the backside of the cardboard interior the direction of the front that would desire to be slid foward, and disconnect the quite a few cables) PCI-e collaborating in enjoying cards slide into place with truthfully a dash stress, and that they slide without placed off down onto the motherboard. Now reconnect the seen demonstrate unit and skill it shrink back up. setting up the main present day drivers and away you bypass.
- BlackcompeLv 71 decade ago
use Java Sockets. for full duplex com. each applet must have its own server.