|
-
April 28th, 2000, 04:10 AM
#1
Socket
How to open a socket from an applet ? What port i should use ? I want to write a chat applet, which communicates with chat server.
Thanx for all your replies !
:-) Parshwanath
-
April 29th, 2000, 11:56 AM
#2
Re: Socket
Hi,
In general you can not open a socket from an Applet to other server except from where the applet is downloaded. It throws a security exception.
You need to get the applet signed by keytool and jarsigner and make it trusted.
port number to use is the port number on which the server listens. you need know the port number.
bye
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|