I was trying to create an application on TCP client using NI IP Stack and Socket APIs. But the nxConnect() fails and gives "Bad address" error. Can anyone help me by giving some examples on usage of IP Stack and Socket functions for automotive ethernet communication. I couldn't find any example on that.
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.
------------------------------------------------------- Control Lead | Intelline Inc