[dylan-foundry/posix-sockets] bb6eb2: [posix-sockets] Get port from <sockaddr-...>
GitHub <[email protected]> Wed, 25 Nov 2015 17:00:08 -0800
| Newsgroups | gmane.comp.lang.dylan.gwydion.cvs |
|---|---|
| Message-ID | <56565998ed2de_79d13fcde66b52bc10605@hookshot-fe3-cp1-prd.iad.github.net.mail> |
Branch: refs/heads/master
Home: https://github.com/dylan-foundry/posix-sockets
Commit: bb6eb2b3c51ce2e7feabf60eddf43e5bae3a8423
https://github.com/dylan-foundry/posix-sockets/commit/bb6eb2b3c51ce2e7feabf60eddf43e5bae3a8423
Author: Bruce Mitchener <[email protected]>
Date: 2015-11-26 (Thu, 26 Nov 2015)
Changed paths:
M posix-sockets/socket-address.dylan
Log Message:
-----------
[posix-sockets] Get port from <sockaddr-...>
This doesn't yet deal with network vs host byte orders.
* posix-sockets/socket-address.dylan
(<socket-address>): Make abstract. Remove slot for storing the port.
(<socket-inet-address>, <socket-inet6-address>,
<socket-unknown-address>): New classes.
(socket-address-port): Return the underlying port number when possible.
Commit: 5211b6094c99bf9e891bd01e18da6c91e9f21c5c
https://github.com/dylan-foundry/posix-sockets/commit/5211b6094c99bf9e891bd01e18da6c91e9f21c5c
Author: Bruce Mitchener <[email protected]>
Date: 2015-11-26 (Thu, 26 Nov 2015)
Changed paths:
M posix-sockets/bindings.dylan
M posix-sockets/socket-address.dylan
Log Message:
-----------
[posix-sockets] Rename socket-address-data slots.
These now have sockaddr in the name to make their usage more clear.
* posix-sockets/socket-address.dylan
(<socket-address>): Rename socket-address-data and
socket-address-data-length slots to socket-address-sockaddr
and socket-address-sockaddr-length.
(socket-address-port): Update to use socket-address-sockaddr.
* posix-sockets/bindings.dylan
(bind): Update to use socket-address-sockaddr. Also update to
use the stored length instead of the (incorect) size-of(<sockaddr>).
(connect): Update to use socket-address-sockaddr.
Commit: 55ba12f365021069966dd1c729f1705136ffd266
https://github.com/dylan-foundry/posix-sockets/commit/55ba12f365021069966dd1c729f1705136ffd266
Author: Bruce Mitchener <[email protected]>
Date: 2015-11-26 (Thu, 26 Nov 2015)
Changed paths:
M posix-sockets/module-posix-sockets.dylan
M posix-sockets/raw-posix-sockets.intr
Log Message:
-----------
[posix-sockets] Bindings for MSG_OOB, MSG_DONTROUTE.
* posix-sockets/raw-posix-sockets.intr
(MSG_OOB, MSG_DONTROUTE): Import bindings for these values.
* posix-sockets/module-posix-sockets.dylan
($MSG-OOB, $MSG-DONTROUTE): Export these bindings as users may need
to use them.
Compare: https://github.com/dylan-foundry/posix-sockets/compare/c9f94cbf3399...55ba12f36502
_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter