Perry Smith

Java Questions & Answers

Home / Java Q & A Page 2 / Java Q & A Archive Main Page

do sockets work in association with applets as fine as they do with application programs!
 Monday, 19-Oct-98 05:12:15

      204.212.46.130 writes:

      while doing my project on developing a chat, I had made use of sockets and serversockets classes in my applets and
      they did'nt work. Later with my friend's suggestion I had converted the applet into an application program and found it
      to be working, which made me believe,until recently, that sockets do not work in association with applets. but very
      recently I found an example in the book "Java:The complete reference" where sockets are indeed used in applets. So I
      want to know if sockets work fine with applets?

      Manohar

Response
Re: do sockets work in association with applets as fine as they do with application programs!
 Wednesday, 21-Oct-98 13:47:41

      199.228.142.5 writes:

      I would have to take a look at your source, but it was possible that you were causing a security violation or some other
      error while using sockets with applets. You should be able to use sockets between an applet and a server as a method
      of communication as this is the basic premise upon which middle-ware like CORBA is built upon.

      ew


Re: do sockets work in association with applets as fine as they do with application programs!
 Sunday, 25-Oct-98 14:35:21

      202.54.108.117 writes:

      sockets work as easily and comfortably with applet asthey work with app. r u shore u made both client and the server
      applet. bec both front end and the back hand should be compaitible so both should be app or applet.
      specify your problem and mail me i might be able to help u

      vipul

Home / Java Q & A Page 2 / Java Q & A Archive Main Page