aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes how an Applet can make a socket on local port Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "how an Applet can make a socket on local port" Watch "how an Applet can make a socket on local port" New topic
Author

how an Applet can make a socket on local port

maateen
Greenhorn

Joined: Dec 18, 2000
Posts: 23
I want to establish a socket on client side through applet so i can write on this socket
i also have a server program running on remote machine...
but Browser is not letting this applet to make a socket at local port in client machine
thanx in advance..
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
There is a sand box permission that prevents any connection to any machine that the applet did not originate on. It espesially prevents writing to the client machine, this protects the user from viruses. If you check the code barn, there is an applet thata connects back to the same server it originated on and reads in a file.
maateen, I know this is the 4th time you've been told. We have a NAMING POLICY Please follow it.
[This message has been edited by Carl Trusiak (edited January 08, 2001).]
[This message has been edited by Carl Trusiak (edited January 08, 2001).]


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how an Applet can make a socket on local port