You can refer to the LabVIEW shipping examples for NI-XNET IP Stack implementation. If you want examples in C, you would need to reach out to NI Technical Support.
-------------------------------------------------------
Applications Engineer | TME Systems