From your description, I assume you're talking about Wi-Fi. This has nothing to do with IR. Wi-Fi works using radio waves and replaces the data link layer of the connection. As such, it is completely transparent to your LabVIEW code and you should use it as you would use any IP based communication setup (e.g. a dialup modem or a LAN). That means using the UDP VIs.
___________________
Try to take over the world!