vxworks,sendto problems - VxWorks

This is a discussion on vxworks,sendto problems - VxWorks ; when i use the sendto command send to a package,i get an errno 0x41=S_errno_EHOSTUNREACH. the socket has successful created and binded. what happened to my problem? what should i do? thanks....

+ Reply to Thread
Results 1 to 3 of 3

Thread: vxworks,sendto problems

  1. vxworks,sendto problems

    when i use the sendto command send to a package,i get an errno
    0x41=S_errno_EHOSTUNREACH.
    the socket has successful created and binded.
    what happened to my problem?
    what should i do?
    thanks.


  2. Re: vxworks,sendto problems

    Try pinging the remote address from the command line, as a test. If
    the ping fails, then the sendto will also - in which case its a network
    connectivity problem (i.e. router config, or similar).


  3. Re: vxworks,sendto problems

    Check your peer IP address.EHOSTUNREACH means arp resolve failed.
    Usually it is because the communication peer is not existed!


+ Reply to Thread