<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/extmod/modlwip.c, branch 2.2.4</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.2.4</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.2.4'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-08-13T12:52:33+00:00</updated>
<entry>
<title>all: Raise exceptions via mp_raise_XXX</title>
<updated>2017-08-13T12:52:33+00:00</updated>
<author>
<name>Javier Candeira</name>
<email>javier@candeira.com</email>
</author>
<published>2017-08-09T04:40:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=35a1fea90b2cae9d5cc8e9eab62ba4c67e8786db'/>
<id>urn:sha1:35a1fea90b2cae9d5cc8e9eab62ba4c67e8786db</id>
<content type='text'>
  - Changed: ValueError, TypeError, NotImplementedError
  - OSError invocations unchanged, because the corresponding utility
    function takes ints, not strings like the long form invocation.
  - OverflowError, IndexError and RuntimeError etc. not changed for now
    until we decide whether to add new utility functions.
</content>
</entry>
<entry>
<title>extmod/modlwip: Implement setsockopt(IP_ADD_MEMBERSHIP).</title>
<updated>2017-07-31T19:38:37+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-07-31T19:38:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ee0452509785faa41a3e15a3646130e35f3556cd'/>
<id>urn:sha1:ee0452509785faa41a3e15a3646130e35f3556cd</id>
<content type='text'>
Allows to join multicast groups.
</content>
</entry>
<entry>
<title>extmod: Use MP_ROM_INT for int values in an mp_rom_map_elem_t.</title>
<updated>2017-07-31T03:00:34+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-07-31T03:00:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bbced3b4bbc8fd7ed7843d39143b6c600adc2c60'/>
<id>urn:sha1:bbced3b4bbc8fd7ed7843d39143b6c600adc2c60</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/mod{lwip,onewire,webrepl}: Convert to mp_rom_map_elem_t.</title>
<updated>2017-07-29T15:24:16+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-07-29T15:09:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f2140f94466f043677d58352bbecbdbe98e82d20'/>
<id>urn:sha1:f2140f94466f043677d58352bbecbdbe98e82d20</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/modlwip: accept: Fix error code for non-blocking mode.</title>
<updated>2017-06-04T10:45:37+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-06-04T10:45:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=50de6d2fab9ad67c6df0d74ce4b8c3704d1de090'/>
<id>urn:sha1:50de6d2fab9ad67c6df0d74ce4b8c3704d1de090</id>
<content type='text'>
In non-blocking mode, if no pending connection available, should return
EAGAIN, not ETIMEDOUT.
</content>
</entry>
<entry>
<title>extmod/modlwip: Fix error codes for duplicate calls to connect().</title>
<updated>2017-06-04T09:30:41+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-06-04T09:30:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5da8de2b66d3f43107e1e745afa9bb6a4bf601eb'/>
<id>urn:sha1:5da8de2b66d3f43107e1e745afa9bb6a4bf601eb</id>
<content type='text'>
If socket is already connected, POSIX requires returning EISCONN. If
connection was requested, but not yet complete (for non-blocking
socket), error code is EALREADY.

http://pubs.opengroup.org/onlinepubs/7908799/xns/connect.html
</content>
</entry>
<entry>
<title>extmod/modlwip: connect: For non-blocking mode, return EINPROGRESS.</title>
<updated>2017-06-03T19:48:31+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-06-03T19:32:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a0dbbbebb8c0286e00ae06751b0173cbca4ec801'/>
<id>urn:sha1:a0dbbbebb8c0286e00ae06751b0173cbca4ec801</id>
<content type='text'>
Instead of ETIMEDOUT. This is consistent with POSIX:
http://pubs.opengroup.org/onlinepubs/7908799/xns/connect.html
</content>
</entry>
<entry>
<title>various: Spelling fixes</title>
<updated>2017-05-29T08:36:05+00:00</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2017-05-29T07:08:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ca16c3821053e5bf2b87aeb10007f73f31dc1eac'/>
<id>urn:sha1:ca16c3821053e5bf2b87aeb10007f73f31dc1eac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/modlwip: ioctl POLL: Fix handling of peer closed socket.</title>
<updated>2017-05-01T15:20:09+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-05-01T15:20:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5db55e63f3e7a5beda732c241693e37e3a7b099f'/>
<id>urn:sha1:5db55e63f3e7a5beda732c241693e37e3a7b099f</id>
<content type='text'>
Peer-closed socket is both readable and writable: read will return EOF,
write - error. Without this poll will hang on such socket.

Note that we don't return POLLHUP, based on argumentation in
http://www.greenend.org.uk/rjk/tech/poll.html that it should apply to
deeper disconnects, for example for networking, that would be link layer
disconnect (e.g. WiFi went down).
</content>
</entry>
<entry>
<title>extmod/modlwip: getaddrinfo: Allow to accept all 6 standard params.</title>
<updated>2017-04-29T15:56:39+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-04-29T15:56:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4c2402e41e869772d3c9fa9b197040c5712624f6'/>
<id>urn:sha1:4c2402e41e869772d3c9fa9b197040c5712624f6</id>
<content type='text'>
But warn if anything else but host/port is passed.
</content>
</entry>
</feed>
