Re: no route to host




jasen wrote:

the error is "no route to host" (as I said above) according to perror(in the
pesudocode) I think that means ENETUNREACH

as far as connect(). (socket() and gethostbyname() work ...)

If you are saying that 'connect' returns 'no route to host', do you
call 'bind' on the socket?

Is this a freshly-allocated socket (from 'socket') or are you trying to
re-use the old socket?

DS

.



Relevant Pages

  • Re: tcp client socket bind problem
    ... Bind the socket to a local address. ... pair (host, port); the host must refer to the local host. ... Before a socket may accept incoming connections, ...
    (comp.lang.python)
  • Re: tcp client socket bind problem
    ... sock.connect((host, port)) ... Bind the socket to a local address. ... pair (host, port); the host must refer to the local host. ...
    (comp.lang.python)
  • Re: tcp client socket bind problem
    ... Bind the socket to a local address. ... pair (host, port); the host must refer to the local host. ... Before a socket may accept incoming connections, ...
    (comp.lang.python)
  • Re: more details
    ... and now, before accessing remoteadmn, if i try to access \\box from my host ... 00053CB0:00000004, NTLM ... on socket 15 ... on overlapped WSASend() ...
    (microsoft.public.windowsce.platbuilder)
  • RE: help: raw_ip socket and system implication
    ... Subject: help: raw_ip socket and system implication ... you can also borrow an unused ip address on the same subnet as the host you ... the same mac address as your source host). ...
    (Vuln-Dev)