Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Applet for listening to an specific port

  Asked By: Jose    Date: May 21    Category: Java    Views: 1198
  

I need to develop an applet which listens to an especific port of the
machine. Because the server will send information via HTTP post to an
especific machine and port.

Can you help in writting such a component ??

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Baylen Smith     Answered On: May 21

it 'll be better to forget about http  protokol. I suppose that u need
server  push mekanism. Why dont u use a tcp soket for this purpose.
By this way u can have a strong comminucation skills, without any more efford.
Serving a port  from an applet  will cause some security problems and also u need
to work with all client machines to correct these security exceptions.
write a soket server,allow your clients to connect this tcp server and make all
your
clients online. this will be more simple and easy. (offcourse if u havent got
clients more then 64K)

 
Didn't find what you were looking for? Find more on Applet for listening to an specific port Or get search suggestion and latest updates.




Tagged: