socket.h.html 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?xml version='1.0' encoding='iso-8859-1'?>
  2. <!doctype html public '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
  3. <html xmlns='http://www.w3c.org/1999/xhtml' lang='en-us'>
  4. <head>
  5. <title>
  6. socket.h
  7. </title>
  8. <meta http-equiv='content-type' content='text/html;iso-8859-1'/>
  9. <meta name='generator' content='motley-tools 1.9.4 13:40:33 Feb 18 2015'/>
  10. <meta name='author' content='cmaier@cmassoc.net'/>
  11. <meta name='robots' content='noindex,nofollow'/>
  12. <link href='toolkit.css' rel='stylesheet' type='text/css'/>
  13. </head>
  14. <body>
  15. <div class='headerlink'>
  16. [<a href='sll.h.html' title=' sll.h '>PREV</a>]
  17. [<a href='toolkit.html' title=' Index '>HOME</a>]
  18. [<a href='stdint.h.html' title=' stdint.h '>NEXT</a>]
  19. </div>
  20. <pre>
  21. /*====================================================================*
  22. *
  23. * Copyright (c) 2011 by Qualcomm Atheros.
  24. *
  25. * Permission to use, copy, modify, and/or distribute this software
  26. * for any purpose with or without fee is hereby granted, provided
  27. * that the above copyright notice and this permission notice appear
  28. * in all copies.
  29. *
  30. * THE SOFTWARE IS PROVIDED &quot;AS IS&quot; AND THE AUTHOR DISCLAIMS ALL
  31. * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
  32. * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
  33. * THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
  34. * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  35. * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
  36. * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  37. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  38. *
  39. *--------------------------------------------------------------------*/
  40. /*====================================================================*
  41. *
  42. * socket.h - substitute sys/socket.h for systems without one;
  43. *
  44. * include Microsoft equivalent definitions and declarations;
  45. *
  46. *. Intellon INT6000 Linux Toolkit for HomePlug AV;
  47. *: Published 2006-2009 by Intellon Corp. ALL RIGHTS RESERVED;
  48. *; For demonstration; Not for production use;
  49. *
  50. *--------------------------------------------------------------------*/
  51. #ifndef SOCKET_HEADER
  52. #define SOCKET_HEADER
  53. /*====================================================================*
  54. * system header files;
  55. *--------------------------------------------------------------------*/
  56. #if defined (WIN32)
  57. #include &lt;winsock2.h&gt;
  58. #endif
  59. /*====================================================================*
  60. * end;
  61. *--------------------------------------------------------------------*/
  62. #endif
  63. </pre>
  64. <div class='footerlink'>
  65. [<a href='sll.h.html' title=' sll.h '>PREV</a>]
  66. [<a href='toolkit.html' title=' Index '>HOME</a>]
  67. [<a href='stdint.h.html' title=' stdint.h '>NEXT</a>]
  68. </div>
  69. </body>
  70. </html>