简体   繁体   中英

Sending packets in a Java Applet

I've written a simple java applet that sends SIP packets to our server. When running within eclipse in the Sun applet viewer, everything works perfectly, but when I attempt to embed the applet in a web browser (using applet tags), the applet successfully runs, but no packets are being sent. I verified this using wireshark. Are there some kind of security settings in IE/chrome that I am not aware of? I guess I can show code if necessary. Thanks

I think applets can communicate only with the source server, similar to javascript ajax calls, if it wasnt that way, then you could make some kind of attack with a simple servlet in a popular site.

Check that you're reaching the source server.

Cheers!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM