回归正题:
使用的环境是workbench3.1和vxworks6.7。
之前的一个TCP工程里,包含了服务端和客户端的socket建立和通信,在vxsim里运行,通过终端可以看到TCP通信成功。但在windows下用C#开发的TCP客户端和服务端都无法和vxsim连接,说明simulator的网络和windows没通。
网上资料太少,只好去啃英文手册《Wind River VxWorks Simulator User's Guide, 6.7》,在第5章Networking with the VxWorks Simulator里有非常详细的说明。这里记录一下。
1、Setting Up the Network Daemon