Results 1 to 6 of 6
- 02-27-2009, 03:06 PM #1
Member
- Join Date
- Feb 2009
- Posts
- 40
- Rep Power
- 0
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,
baruskLast edited by barusk; 03-20-2009 at 01:49 PM.
- 03-01-2009, 05:35 PM #2
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.
- 03-16-2009, 11:38 PM #3
Member
- Join Date
- Mar 2009
- Posts
- 6
- Rep Power
- 0
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?
- 03-18-2009, 07:04 PM #4
Member
- Join Date
- Feb 2009
- Posts
- 40
- Rep Power
- 0
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
- 03-18-2009, 10:33 PM #5
Member
- Join Date
- Mar 2009
- Posts
- 6
- Rep Power
- 0
Steve is some kind of god... he says little, achieves alot hahaha. Good on ya :D
- 03-20-2009, 01:46 PM #6
Member
- Join Date
- Feb 2009
- Posts
- 40
- Rep Power
- 0
Similar Threads
-
Web App and network problems?(need help)
By barusk in forum Java AppletsReplies: 3Last Post: 02-27-2009, 06:18 PM -
applet.policy and i/0 problems
By willemjav in forum NetBeansReplies: 0Last Post: 03-08-2008, 10:32 PM -
problems when I try to run an applet
By boy22 in forum Java AppletsReplies: 2Last Post: 08-11-2007, 03:47 PM -
problems with applet tags
By oregon in forum Java AppletsReplies: 2Last Post: 08-06-2007, 03:19 AM -
problems with applet
By paty in forum Java AppletsReplies: 1Last Post: 08-05-2007, 04:16 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks