Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2415 in orxonox.OLD

Timestamp:
Sep 4, 2004, 12:10:43 AM (20 years ago)
Author:
root
Message:

Automatically added by cvs2svntracking:
Date: 2004-09-03 21:50
Author: jbrassow

  • this should get rid of the ENETUNREACH problems… as well as the CONNREFUSED that AJ was seeing.

The new struct sockaddr_storage structure I was using was not being
memset before being populated. So, there were some extra fields at
the end that were not right. Specifically, strace showed:

NORMAL [no failure]:
sendto[11, "\7\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_INET6, sin6_port=htons[50007], inet_pton[AF_INET6, "ff02::3:1", &sin6_addr], sin6_flowinfo=0, sin6_scope_id=0}, 28] = 20

BAD [returns ENETUNREACH]:
sendto[10, "\7\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_INET6, sin6_port=htons[50007], inet_pton[AF_INET6, "ff02::3:1", &sin6_addr], sin6_flowinfo=34, sin6_scope_id=4144328704}, 28] = -1 ENETUNREACH [Network is unreachable]

So, it appears that sin6_flowinfo and sin6_scope_id were crap.

(No files)

Note: See TracChangeset for help on using the changeset viewer.