title: Xamarin binding project structs in external assembly
body: <p>I am using Xamarin binding project and objective sharpie, to bind an objective-c library from this SDK:</p>
  
  <p><a href="http://redpark.com/lightning-ethernet-plus-power-adapter-cable-l4-netp/" rel="nofollow">http://redpark.com/lightning-ethernet-plus-power-adapter-cable-l4-netp/</a></p>
  
  <p>I have already had success in binding and using the similar Seriel SDK.
  But when I try binding the ethernet SDK I get:</p>
  
  <p>"The type or namespace name 'sockaddr' could not be found. Are you missing a using directory or an assembly reference?"   </p>
  
  <p>sockaddr is defined in sys/socket.h</p>
  
  <p>The same goes for following structs:
  'fd_set' defined in _fd_def.h and
  'timeval' defined in _timeval.h</p>
  
  <p>How do I get it to recognize these structs? 
  Has anybody had success binding the Redpark Ethernet SDK?</p>
  
  <p>My binding project is available here:
  <a href="https://github.com/advcv/redpark.blastclient.binding" rel="nofollow">https://github.com/advcv/redpark.blastclient.binding</a></p>