Re: incoming connection port 80



On Tue, 04 Mar 2008 11:43:52 -0800, Erik <erikgast@xxxxxxxxx> wrote:

Thanks for your answer :).

You're welcome.

What I'm trying to do is to create a Java applet which can receive an incoming
connection, so a connection is enstablished between a program and the applet (which
must be able to accept the connection).

Assuming that your use of the word "connection" here implies TCP, and assuming that an applet is allowed to create a TCP socket that listens, then this should be possible. Note that I don't know enough about the limitations of an applet to answer that particular question. If Java blocks that sort of operation for applets, then you can't do it.

Is this possible (to bypass
the router (not the firewall!)) and if it's possible, how?

Assuming applets are allowed to do that sort of thing, it's possible, and my previous post explained how, at least to the extent that I think might be appropriate in a Java programming newsgroup. There's plenty of information in there that should allow you to find the specific details via Google and/or in a newsgroup that more specifically deals with network programming.

Pete
.



Relevant Pages

  • crypto programming, SSL/openSSL/TLS ??
    ... This means of course that the applet is the client. ... The most obvious thing to do is to solve the auth and the secure traffic issues. ... From the few things I've read, there is a problem using SSL because ... if anyone can suggest good resources regarding programming ...
    (Security-Basics)
  • Wheres Juan Carlos when you need him? (Re: Tab taking keyboard focus away from applet...HELP!)
    ... invoking the setFocusTraversalKeysEnabledmethod on the Applet ... Your programming a ..car? ... What is a 'dashboard application'? ...
    (comp.lang.java.programmer)
  • Re: Java 2 v1.4.2 on other computers
    ... Java applets always were a holly mess, ... JDK where you are programming and compiling your applet. ... Explorer and Netscape installed. ...
    (comp.lang.java.help)
  • Re: Can I use a swing Component (e.g. JTextField) in a Java Applet
    ... programming is to find out how to test things simply with ... There are more advanced solutions available as well. ... Sun's HTMLConverter turns your <applet> element into ... the right Java or link to it. ...
    (comp.lang.java.help)
  • Re: JDBC Applets - MS Access
    ... > I am working on a Applet at the moment which must be able to access ... > I need to be able to setup a jdbc connection to an Access database. ... JDataConnect also uses a server side JDBC server. ...
    (comp.lang.java.databases)