[dylan-foundry/posix-sockets] f391aa: [posix-sockets] Bindings for recv, send.
GitHub <[email protected]> Wed, 02 Dec 2015 06:18:21 -0800
| Newsgroups | gmane.comp.lang.dylan.gwydion.cvs |
|---|---|
| Message-ID | <565efdad9db23_46fe3f7f2b9972a01149e7@hookshot-fe3-cp1-prd.iad.github.net.mail> |
Branch: refs/heads/master
Home: https://github.com/dylan-foundry/posix-sockets
Commit: f391aa0625d8a50c87b5b6a7fe6783ff3f557e47
https://github.com/dylan-foundry/posix-sockets/commit/f391aa0625d8a50c87b5b6a7fe6783ff3f557e47
Author: Bruce Mitchener <[email protected]>
Date: 2015-12-02 (Wed, 02 Dec 2015)
Changed paths:
M posix-sockets/bindings.dylan
M posix-sockets/module-posix-sockets.dylan
M posix-sockets/raw-posix-sockets.intr
Log Message:
-----------
[posix-sockets] Bindings for recv, send.
* posix-sockets/bindings.dylan
(<byte-vector-like>): union of types that we can accept as a
vector of bytes.
(recv, send): Wrapper functions.
* posix-sockets/raw-posix-sockets.intr
(<C-buffer-offset>): The data arguments are of type void*,
but we have a <machine-word> from byte-storage-address.
(recv, recvfrom, send, sendto): Map the data argument to
be of type <C-buffer-offset>.
* posix-sockets/module-posix-sockets.dylan
(module posix-sockets): Export recv, send.
Commit: 805b7a81c304ed9d24f091a2b92b5d72d1c1950b
https://github.com/dylan-foundry/posix-sockets/commit/805b7a81c304ed9d24f091a2b92b5d72d1c1950b
Author: Bruce Mitchener <[email protected]>
Date: 2015-12-02 (Wed, 02 Dec 2015)
Changed paths:
M posix-sockets/bindings.dylan
Log Message:
-----------
[posix-sockets] Improve send() binding.
* posix-sockets/bindings.dylan
(send): This now takes keyword parameters for the valid flags that
be used here. It also allows specifying an offset into the data
for sending the data.
Compare: https://github.com/dylan-foundry/posix-sockets/compare/7d7c0aa73c9c...805b7a81c304
_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter