Browse Source

Add simple network file for more growth

master
Macoy Madson 3 months ago
parent
commit
dc107f9a4f
  1. 1
      ReadMe.org
  2. 5
      src/Network.cake

1
ReadMe.org

@ -115,6 +115,7 @@ Here are the known compatibility results, where blank means untested/unknown:
| Introspection.cake | Yes | Yes | Yes | Yes |
| Licenses.cake | Yes | Yes | Yes | Yes |
| Math.cake | Yes | Yes | Yes | Yes |
| Network.cake | Yes | Yes | | |
| Ogre.cake | Yes | | | |
| OgreInitialize.cake | Yes | | | |
| Oniguruma.cake | Yes | | Yes | |

5
src/Network.cake

@ -0,0 +1,5 @@
;; Network.cake: Provide easy access to the sockets API
(export
(c-import "<string.h>"
"<sys/socket.h>" "<sys/types.h>" "<unistd.h>"
"<netinet/tcp.h>" "<netinet/in.h>" "<netdb.h>"))
Loading…
Cancel
Save