Results 1 to 6 of 6
  1. #1
    barusk is offline Member
    Join Date
    Feb 2009
    Posts
    40
    Rep Power
    0

    Unhappy Applet Network problems(solved)

    This might be a little confusing, but here goes. I have developed an applet that writes a packet to a wifi using a dlink. Which i connect using sockets. Now i embedded this applet in html, and it worked fine. Then i started a web server to which other clients could sign in using a vpn. Then when the client trys to run my applet from their comp, it doesnt give any errors it just doesn't do anything. I have checked what packets are being sent over the vpn with wireshark and it says they send fine. What i think is the packets are sent to my comp but doesn't know what to do with them. It should take the packets then send them over the dlink to the wifi, but the packet never reach the dlink. My interenet connection is a normal dsl. Any! ideas are accepted and hoped for. Has to be some1 out there that knows what i going through.
    Much Thanks in Advance,
    barusk
    Last edited by barusk; 03-20-2009 at 01:49 PM.

  2. #2
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    7

    Default

    Applet, TCP/IP--AFAIK, an applet can only communicate using a socket with the server it came from. So the applet connects back to your server. On what port? What is listening on that port? What does it do when it gets a connection?

    Draw a picture of what you are trying to accomplish. DSL, wireless, Web server, clients... That doesn't make much sense.

  3. #3
    tommosimmo is offline Member
    Join Date
    Mar 2009
    Posts
    6
    Rep Power
    0

    Default

    I think what Steve is saying, and from what i can see from your original post, you might be using an IP Address in your client such as 127.0.0.1 or a hostname of localhost in your applet which wont work on another computer. Can you share with us your code?

  4. #4
    barusk is offline Member
    Join Date
    Feb 2009
    Posts
    40
    Rep Power
    0

    Default

    well steve kinda helped me figure this out. i ended up havin an ip that was unreachable outside the network. so i have now added the wifi unit to my network using a router and everythings works wonderfully. thanks to all

  5. #5
    tommosimmo is offline Member
    Join Date
    Mar 2009
    Posts
    6
    Rep Power
    0

    Default

    Steve is some kind of god... he says little, achieves alot hahaha. Good on ya :D

  6. #6
    barusk is offline Member
    Join Date
    Feb 2009
    Posts
    40
    Rep Power
    0

Similar Threads

  1. Web App and network problems?(need help)
    By barusk in forum Java Applets
    Replies: 3
    Last Post: 02-27-2009, 06:18 PM
  2. applet.policy and i/0 problems
    By willemjav in forum NetBeans
    Replies: 0
    Last Post: 03-08-2008, 10:32 PM
  3. problems when I try to run an applet
    By boy22 in forum Java Applets
    Replies: 2
    Last Post: 08-11-2007, 03:47 PM
  4. problems with applet tags
    By oregon in forum Java Applets
    Replies: 2
    Last Post: 08-06-2007, 03:19 AM
  5. problems with applet
    By paty in forum Java Applets
    Replies: 1
    Last Post: 08-05-2007, 04:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •