> > There may be a function that can look this up, but I think it's hard for > the API to know what network the app needs to use, although 99% of the > time the host has a single Ethernet port making the practical choice > easy. I got the libmodbus 3 unit-test demo to work by just doing a > ifconfig to to get my IP address and plugged that in. That's all that > was needed. RTU over TCP is probably a different story. My LinuxCNC > master could send queries just fine, but the unit-test slave isn't set > up to return anything interesting. Successes for unit-test demo seems to > be a lack of error messages. >
CL requires the address and the port number (9502 id default). I somewhat understand the address but not really the port number. Can you elaborate how you found this info? keep in mind I have almost no knowledge of networks other then plugging in my ethernet cable in to my cable internet router. :) Chris M ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users