Host Engineering Forum

General Category => Ethernet SDK => Topic started by: chrisatwan on April 11, 2008, 09:01:54 AM

Title: trying to communicate with ECOM via EtherCCM
Post by: chrisatwan on April 11, 2008, 09:01:54 AM
I set up my H2-ECOM with the NetEdit3 without any problems.  I am trying to communicate via the EtherCCM VB example but I get errors.  I hit the Init. Network button and it initializes, but when I hit the Scan Network button I see and an ERROR 2751 in the ID column.  I see the correct MAC address.  Any ideas.
Title: Re: trying to communicate with ECOM via EtherCCM
Post by: MikeS on April 11, 2008, 09:48:26 AM
/*
 * All Windows Sockets error constants are biased by WSABASEERR
 *
 */
#define WSABASEERR              10000
   ...
#define WSAEHOSTUNREACH         (WSABASEERR+65)

That error means the IP address of the PC is not on the same network as the as the ECOM, usually because the netmask is wrong or maybe a typo in the IP address assigned to the ECOM. It may also be an issue caused by having multiple NICs enabled on the PC (like a laptop with wired and wireless NICs).

Can you still "see" the ecom after giving it's IP address?

Can you ping it?
Title: Re: trying to communicate with ECOM via EtherCCM
Post by: chrisatwan on April 11, 2008, 10:04:22 AM
I did not have the ECOM on the same network as the PC.  I connected the ECOM to a hub and now I can communicate with the ECOM from the PC via the EtherCCM.

Thank you.