Jump to content

can i send file(s) through UDP socket?


Recommended Posts

does anyone ever tested it? if there's any, please post examples. thanks before.

Forum have nice Search Button located on right uper corner of the page. try searching for "+send +file" with "Search titles only" and see what will happend :D

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
Share on other sites

Forum have nice Search Button located on right uper corner of the page. try searching for "+send +file" with "Search titles only" and see what will happend :D

sorry if my question bother you. and yes i do, i quite often use "search" feature to find what i'm looking for. i just need someone who really intended to help me and show me some examples or at least a thread that answer this, and not who's asking me to search, because i've done that. thanks for the attention anyway.

Link to comment
Share on other sites

It's fully possible to send files through the UDP protocol, but it's not reliable nor advisable;

UDP shouldn't be used for file transferring, as there's no guarantee that the data sent will be transferred completely(or at all), as UDP is a fire-and-forget protocol, in the sense that it does no error checking, or 'follow-ups' to make sure data sent was not corrupted/etc. during transfer.

For sending files you should use TCP because it does actually check if the data sent was transferred successfully. :D

Link to comment
Share on other sites

It's fully possible to send files through the UDP protocol, but it's not reliable nor advisable;

UDP shouldn't be used for file transferring, as there's no guarantee that the data sent will be transferred completely(or at all), as UDP is a fire-and-forget protocol, in the sense that it does no error checking, or 'follow-ups' to make sure data sent was not corrupted/etc. during transfer.

For sending files you should use TCP because it does actually check if the data sent was transferred successfully. :D

i'm trying to make a broadcasting client server program, so every server that listening certain ports on the subnet, will receive files that i am sending.

Link to comment
Share on other sites

i finally found UFTP which is using UDP and sending files through multicast address channel... it works fine except that my LAN goes laggy whenever data is transmitted. the weird thing is, i set the transmit rate to 1000Kbps only.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...