Click here to Skip to main content
15,905,867 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My scenario is:-
I want to send data (in forms of points to draw a chart(pie,bar etc)) from one pc to another and upon receiving data at destination,save it and draw chart.
but im not able to send multiple data in one go i have to resend it again and again,becoz of which im loosing sum points on destination nodes...
im not getting any clue how to do it.plz any suggestion its vry urgent.
i have done all this on windows forms..
Posted
Updated 18-Jul-10 2:08am
Comments
Richard MacCutchan 19-Jul-10 12:28pm    
Using a string array and still using UDP means that there remains a potential for loss of messages. You should add logic to verify that your destination PC receives every message that is sent.
saloni15 26-Jul-10 1:52am    
yup u were right all data was not reaching!!!now im transferring dataset by converting it into xml and also listening it as xml and converting to dataset to show final data.By this no data is lost..

1 solution

Without seeing some of the code that is causing the problem it is impossible to guess what may be going wrong. I would suggest you use TCP rather than UDP, as UDP packets do not have guaranteed delivery.
 
Share this answer
 
Comments
saloni15 19-Jul-10 11:59am    
Actually i have to use udp,i have used string array to do so.thanks..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900