This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mtr under cygwin


On Jan 21 17:55, David Arnstein wrote:
> I am able to compile mtr 0.75 under Cygwin, see
> http://www.bitwizard.nl/mtr/.
> 
> But mtr is not working. Using ddd, I see that the call 
> 	getsockname (recvsock, name, &len);
> 
> does not seem to be filling in name correctly, when recvsock=3. It
> fills in name->sa_family = 0.
> 
> Any suggestions?

Debugging might help.

getsockname usually works fine.  If you're not using AF_LOCAL sockets,
it's a more or less thin shim for the Winsock getsockname function.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]