WLAN,
first of all, you cannot change anything of TCP or UDP headers in LV. The same is true for IP headers.
Regarding your first question: You CAN influence the packetsize on your own by chopping your data into appropriate peaces. You CAN add a kind of header on your own to each of these chunks. You CAN check this selfbuilt header at your receiver and request packages which are missing or erroneous.
BUT:
THIS mechanics are already included in TCP and you will have MORE OVERHEAD when doing this errorhandling on your own then by TCP.
The only disadvantage of TCP for you might be, that TCP is P2P, not multi- or broadcast.....
hope this helps,
Norbert B.
[EDIT]: Please note that UDP was esp. designed to include NO errorhandling to increase speed. Therefore, many applications like video-streams, VoIP and games use udp since lost/misordered packages does not have a great impact. A wrong colored pixel of line in a single video-picture doesnt have too much negative effekt for the viewer, so there is no need for errorhandling here. Instead, esp. VoIP, a much larger delay between talking/receiving is very disturbing.
Message Edited by Norbert B on 01-26-2007 04:21 AM
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.