Back to the main page.

Bug 109 - compilation problems because inet_ntop is missing on windows

Status CLOSED FIXED
Reported 2010-07-11 12:09:00 +0200
Modified 2011-01-05 12:00:59 +0100
Product: FieldTrip
Component: peer
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P1 minor
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2010-07-11 12:09:36 +0200

Compilation of the peer mex file initially failed because of inet_ntop (used for determining the IP address from the peer multicast packet) is missing. I have implemented a workaround in discover.c, which works by setting ipaddr to all zeros, and in peer.c and peerslave.c in detecting whether it has length zero. If ipaddr is empty, it now uses teh hostname (which goes through nslookup). Ideally, for the different compilers on windows a consistent solution for inet_ntop should be implemented.


Robert Oostenveld - 2010-12-06 22:26:54 +0100

Stefan has recently been making win32/64 specific improvements to the code that now allow it to compile


Robert Oostenveld - 2011-01-05 11:56:54 +0100

selected a long list of resolved bugs from roboos and changed the status into "RESOLVED"


Robert Oostenveld - 2011-01-05 12:00:59 +0100

selected all old bugs from roboos with status RESOLVED and changed it into CLOSED