ros-windows / win_ros

Windows support for Ros (Robot Operating System)
http://www.ros.org/wiki/win_ros
23 stars 16 forks source link

fcntl porting for windows #14

Open stonier opened 11 years ago

stonier commented 11 years ago

The former is a linux only piece of code. Can't even import fctnl. I don't know exactly what is the equivalent code yet. Problem is in here:

https://github.com/ros/ros/blob/groovy-devel/core/roslib/src/roslib/network.py

Why did we not have this problem in fuerte though? There is branching there:

if _use_netifaces:
  # maybe this one got hit.
elif _is_unix_like_platform():
  # fcntl code
else():
  # single interface fallback
stonier commented 11 years ago

Ah, this is important (same file):

# disabling netifaces as it accounts for 50% of startup latency
stonier commented 11 years ago

So we should be in the last branch where you can find this comment:

 # cross-platform branch, can only resolve one address

Maybe a future problem?