micropython/tests/multi_net
Alessandro Gatti 024178455d unix/modsocket: Add "sendall" method to socket class.
This commit adds an implementation for "socket.sendall" to the Unix
port.

Right now the implementation is a wrapper over a single "socket.send"
call, since it wasn't possible to let "socket.send" perform a partial
transfer.  With no partial transfers it is not possible to have a
testable implementation following the expected behaviour, so a single
send operation is done and OSErr(EINTR) is raised if a partial transfer
occurs.

The discussion for the issue linked to this PR contains more information
about the efforts made to let partial transfers happen.

This fixes #16803.

Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
2026-04-08 19:20:51 +10:00
..
asyncio_tcp_client_rst.py tests: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
asyncio_tcp_client_rst.py.exp tests: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
asyncio_tcp_close_write.py tests/multi_net: Increase asyncio tests timeouts. 2023-09-06 12:09:19 +10:00
asyncio_tcp_close_write.py.exp tests: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
asyncio_tcp_readall.py tests/multi_net: Increase asyncio tests timeouts. 2023-09-06 12:09:19 +10:00
asyncio_tcp_readall.py.exp tests: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
asyncio_tcp_readexactly.py tests/multi_net: Increase asyncio tests timeouts. 2023-09-06 12:09:19 +10:00
asyncio_tcp_readexactly.py.exp tests: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
asyncio_tcp_readinto.py tests/multi_net: Simplify SKIP when imports don't exist. 2025-08-29 11:17:48 +10:00
asyncio_tcp_readinto.py.exp tests: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
asyncio_tcp_server_client.py tests: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
asyncio_tcp_server_client.py.exp tests: Rename uasyncio to asyncio. 2023-06-19 17:33:03 +10:00
asyncio_tls_server_client_cert_required_error.py tests/multi_net: Skip all ssl/tls tests on axTLS. 2026-02-04 19:35:00 +11:00
asyncio_tls_server_client_cert_required_error.py.exp extmod/asyncio: Add ssl support with SSLContext. 2023-12-14 12:20:19 +11:00
asyncio_tls_server_client_readline.py tests/multi_net: Skip all ssl/tls tests on axTLS. 2026-02-04 19:35:00 +11:00
asyncio_tls_server_client_readline.py.exp extmod/asyncio: Add ssl support with SSLContext. 2023-12-14 12:20:19 +11:00
asyncio_tls_server_client_verify_error.py tests/multi_net: Skip all ssl/tls tests on axTLS. 2026-02-04 19:35:00 +11:00
asyncio_tls_server_client_verify_error.py.exp extmod/asyncio: Add ssl support with SSLContext. 2023-12-14 12:20:19 +11:00
asyncio_tls_server_client.py tests/multi_net: Skip all ssl/tls tests on axTLS. 2026-02-04 19:35:00 +11:00
asyncio_tls_server_client.py.exp extmod/asyncio: Add ssl support with SSLContext. 2023-12-14 12:20:19 +11:00
ec_cert.der tests/multi_net: Update TLS test certificates and keys. 2025-01-14 14:55:30 +11:00
ec_key.der tests/multi_net: Update TLS test certificates and keys. 2025-01-14 14:55:30 +11:00
expired_cert.der all: Update bindings, ports and tests for mbedtls v3.5.1. 2024-01-30 11:08:46 +11:00
rsa_cert.der tests/multi_net: Update TLS test certificates and keys. 2025-01-14 14:55:30 +11:00
rsa_key.der tests/multi_net: Update TLS test certificates and keys. 2025-01-14 14:55:30 +11:00
ssl_cert_ec.py tests/multi_net: Skip all ssl/tls tests on axTLS. 2026-02-04 19:35:00 +11:00
ssl_cert_ec.py.exp all: Update bindings, ports and tests for mbedtls v3.5.1. 2024-01-30 11:08:46 +11:00
ssl_cert_rsa.py tests/multi_net: Skip all ssl/tls tests on axTLS. 2026-02-04 19:35:00 +11:00
ssl_cert_rsa.py.exp extmod/modussl_mbedtls: Implement cert_reqs and cadata arguments. 2022-07-20 16:46:04 +10:00
sslcontext_check_hostname_error.py tests/multi_net: Skip all ssl/tls tests on axTLS. 2026-02-04 19:35:00 +11:00
sslcontext_check_hostname_error.py.exp extmod/modssl_mbedtls: Add SSLContext certificate methods. 2023-12-12 16:25:07 +11:00
sslcontext_getpeercert.py tests/multi_net: Skip all ssl/tls tests on axTLS. 2026-02-04 19:35:00 +11:00
sslcontext_getpeercert.py.exp tests/multi_net: Update TLS test certificates and keys. 2025-01-14 14:55:30 +11:00
sslcontext_server_client_ciphers.py tests/multi_net: Skip all ssl/tls tests on axTLS. 2026-02-04 19:35:00 +11:00
sslcontext_server_client_ciphers.py.exp extmod/modssl_mbedtls: Add SSLContext certificate methods. 2023-12-12 16:25:07 +11:00
sslcontext_server_client_files.py tests/multi_net: Skip all ssl/tls tests on axTLS. 2026-02-04 19:35:00 +11:00
sslcontext_server_client_files.py.exp extmod/modssl_mbedtls: Add SSLContext certificate methods. 2023-12-12 16:25:07 +11:00
sslcontext_server_client.py tests/multi_net: Skip all ssl/tls tests on axTLS. 2026-02-04 19:35:00 +11:00
sslcontext_server_client.py.exp extmod/modssl_mbedtls: Add SSLContext certificate methods. 2023-12-12 16:25:07 +11:00
sslcontext_verify_callback.py tests/multi_net: Skip all ssl/tls tests on axTLS. 2026-02-04 19:35:00 +11:00
sslcontext_verify_callback.py.exp tests/multi_net: Update TLS test certificates and keys. 2025-01-14 14:55:30 +11:00
sslcontext_verify_error.py tests/multi_net: Skip all ssl/tls tests on axTLS. 2026-02-04 19:35:00 +11:00
sslcontext_verify_error.py.exp extmod/modssl_mbedtls: Add SSLContext certificate methods. 2023-12-12 16:25:07 +11:00
sslcontext_verify_time_error.py tests/multi_net: Skip all ssl/tls tests on axTLS. 2026-02-04 19:35:00 +11:00
sslcontext_verify_time_error.py.exp extmod/modssl_mbedtls: Add SSLContext certificate methods. 2023-12-12 16:25:07 +11:00
tcp_accept_recv.py extmod/modlwip: Fix crash when calling recv on listening socket. 2025-06-26 12:46:45 +10:00
tcp_client_rst.py tests/multi_net/tcp_client_rst.py: Improve and extend test. 2026-01-27 00:49:34 +11:00
tcp_data.py top: Update Python formatting to black "2023 stable style". 2023-02-02 12:51:03 +11:00
tcp_recv_peek.py tests/multi_net: Use random.getrandbits instead of random.randrange. 2026-02-04 19:35:00 +11:00
tcp_sendall.py unix/modsocket: Add "sendall" method to socket class. 2026-04-08 19:20:51 +10:00
tls_dtls_server_client.py tests/multi_net: Skip all ssl/tls tests on axTLS. 2026-02-04 19:35:00 +11:00
tls_dtls_server_client.py.exp tests/multi_net: Update DTLS multi-net test. 2025-07-23 15:47:16 +10:00
udp_data_multi.py tests/multi_net: Add test that requires queuing UDP packets. 2025-05-12 14:19:34 +10:00
udp_data_multi.py.exp tests/multi_net: Add test that requires queuing UDP packets. 2025-05-12 14:19:34 +10:00
udp_data.py tests/multi_net/udp_data.py: Make UDP test more reliable. 2022-02-09 14:05:01 +11:00
udp_recv_dontwait.py tests/multi_net: Use random.getrandbits instead of random.randrange. 2026-02-04 19:35:00 +11:00
udp_recv_dontwait.py.exp tests/multi_net: Add test coverage for socket recv flag MSG_DONTWAIT. 2025-06-03 12:52:25 +10:00
udp_recv_peek.py tests/multi_net: Use random.getrandbits instead of random.randrange. 2026-02-04 19:35:00 +11:00