[dylan-foundry/posix-sockets] 048ea7: [posix-sockets] Introduce <unbound-socket>.

GitHub <[email protected]> Wed, 25 Nov 2015 18:35:28 -0800
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <56566ff08d0a3_5d883f909d1412bc85767@hookshot-fe6-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/dylan-foundry/posix-sockets
  Commit: 048ea71978a9a68c8ea8258e41c6212e7e7c0a11
      https://github.com/dylan-foundry/posix-sockets/commit/048ea71978a9a68c8ea8258e41c6212e7e7c0a11
  Author: Bruce Mitchener <[email protected]>
  Date:   2015-11-26 (Thu, 26 Nov 2015)

  Changed paths:
    M posix-sockets/bindings.dylan
    M posix-sockets/module-posix-sockets.dylan
    M posix-sockets/socket.dylan

  Log Message:
  -----------
  [posix-sockets] Introduce <unbound-socket>.

An extra class to represent a socket state to make API errors
more difficult.

* posix-sockets/socket.dylan
  (<unbound-socket>): New class to represent an unbound, unconnected
   socket.

* posix-sockets/bindings.dylan
  (socket): Returns an <unbound-socket>.
  (bind): Accepts an <unbound-socket>.
  (connect): Likewise.

* posix-sockets/module-posix-sockets.dylan
  (module posix-sockets): Export <unbound-socket>.

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter