Click here to Skip to main content
15,881,516 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
My question is:

How can I transfer a (large) file in UDP. Because I can't transfer an image lager than 50 kb with UDP. I am using C#.

Please help me
thanks
Posted
Updated 13-May-10 0:18am
v3
Comments
Member 13702092 13-Mar-18 9:27am    
Is anyone have the solution of UDP file transfer in c#?

The more I read this[^], the more I think that what you're trying to do sounds a bit nuts.
 
Share this answer
 
Your choice looks wrong, UDP it's not reliable, you know. Why don't you use TCP, instead?

OK, you need multicasting. So you have to take care of lost and duplicated packets.
:-)
 
Share this answer
 
v3
Comments
yasser.enpc 12-May-10 13:23pm    
because i want to send Multicat !!
you can look at www.goodudx.com,it can trans file with udp.

udx is tcp-over-udp.
 
Share this answer
 

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