If you need an assured service, use TCP VIs. They'll guarantee all
your packets arrive (and arrive in order).
The disadvantage is you lose the convenience of Datasocket.
Here's a <a
href="http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3EF0956A4E034080020E74861&p_node=174821">tool</a>
for doing just that with TCP. You should try the tool, and use the
solution as a starting place for DataSocket. Good luck.