Solved

Datagram in Applet

Posted on 2004-09-04
15
217 Views
Last Modified: 2010-03-31
I m sending a Datagram packet , from one pc to another through applet
I know that we cannot send a packet to other client directly , coz the applet only sends data to server from where it is downloaded,

So for that reason I made signed Applet, It worked well locally, but remotely its not working
The main reason for sending packet directly bcoz i want 2 send video and audio to other pc in Applet

Can any one help me plz ??
0
Comment
Question by:bkniazi
  • 6
  • 5
  • 2
15 Comments
 
LVL 30

Accepted Solution

by:
Mayank S earned 250 total points
ID: 11980125
0
 
LVL 92

Assisted Solution

by:objects
objects earned 250 total points
ID: 11986524
> It worked well locally, but remotely its not working

define 'not working'
any exceptions

are you sure you signed your applets jars correctly.
0
 

Author Comment

by:bkniazi
ID: 11988323
objects not working means that its not sending datagram packets to the client he is not able to view my messages and neither do i am able to view message he sends.

>are you sure you signed your applets jars correctly
yes i am sure they are.
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 92

Expert Comment

by:objects
ID: 11988333
any exceptions when you send a packet?
can you post your code.
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 11988559
Did you see the link I posted?
0
 

Author Comment

by:bkniazi
ID: 12004633
sorry to reply so late
yes mayankealge
i checked the link i didnt see any problems regarding certificates.
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 12012831
>> any exceptions when you send a packet?
>> can you post your code.

?
0
 

Author Comment

by:bkniazi
ID: 12052413
there are no exceptions
and the code will not give you any idea, its conventional coding like creating packet and sending it through datagram socket.
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 12061425
>> there are no exceptions

Are you catching and ignoring them?
0
 

Author Comment

by:bkniazi
ID: 12082985
no i am just catching and displaying them.
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 12094892
Is the code too long to post?
0
 

Author Comment

by:bkniazi
ID: 12109611
yup the code is very long
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 12120459
Well, then I think there is an issue with the signing, like objects said.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to parse custom JSON to POJO java 4 83
java stored proc example 9 44
How to convert from xls to xlsx using java 7 54
ejb on wildfly 5 30
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question