Commit Graph

25 Commits

Author SHA1 Message Date
coolreader18
25a571a38b Fix _socket.socket __new__/__init__, set timeout 2019-10-28 22:27:23 -05:00
Jeong YunWon
dc8057a1c2 Refactor snippets/testutil 2019-09-17 17:37:24 +09:00
lynskylate
d58abd3a66 Add timeout test 2019-08-25 22:31:21 +08:00
lynskylate
70d9e43104 Add settimeout and setblocking for socket module 2019-08-20 01:18:34 +08:00
Hyunji Kim
8b8f542e23 add __enter__ and __exit__ for socket 2019-08-16 14:48:27 +09:00
SeungUkLee
74618c99ef Impl socket htonl 2019-08-15 12:24:14 +09:00
lynskylate
c9c580d2fe Add inet_ntoa and windows gethostname 2019-08-07 01:28:17 +08:00
lynskylate
4e969e9db7 Remove unsafe code 2019-08-05 07:10:28 +08:00
lynskylate
5f4c8c65fa Impl gethostname sethostname inet_aton 2019-08-05 00:16:05 +08:00
Aviv Palivoda
f42c2a6ba5 Test fileno only on posix 2019-04-19 16:58:43 +03:00
Aviv Palivoda
e7b059ed9c Add socket.fileno for windows 2019-04-19 16:00:00 +03:00
Aviv Palivoda
cf0a920743 Add socket.fileno for unix 2019-04-19 15:50:06 +03:00
Aviv Palivoda
8df0e46c32 Try to fix windows CI errors 2019-03-09 09:29:33 +02:00
Aviv Palivoda
76c43457b5 Add more OSError exceptions to socket 2019-03-08 17:05:05 +02:00
Aviv Palivoda
de0e76baf8 socket connect and bind throws OSError with indicative error message 2019-03-08 16:43:11 +02:00
Aviv Palivoda
3fae8ccfbc Handle unknown socket kind 2019-03-08 16:19:26 +02:00
Aviv Palivoda
40c10ab70a Handle unknown address family 2019-03-08 16:16:59 +02:00
Aviv Palivoda
f09f75ac8d Do implicit bind in socket.sendto 2019-03-03 18:15:14 +02:00
Aviv Palivoda
9b5ba068af Return addr in accept 2019-03-03 18:15:14 +02:00
Aviv Palivoda
86b60faa61 Add socket.{sendto, recvfrom} 2019-03-03 18:15:14 +02:00
Aviv Palivoda
e5d1d11c3e Add UDP to socket 2019-03-03 18:15:14 +02:00
Aviv Palivoda
8087ccf274 Add socket.getsockname 2019-02-27 20:47:53 +02:00
Aviv Palivoda
716eb4afca Add validation to connect and bind address 2019-02-27 19:54:39 +02:00
Aviv Palivoda
2bdbc40a45 socket.recv read amount of bytes asked 2019-02-27 19:50:31 +02:00
Aviv Palivoda
c87cf90043 Add socket test 2019-02-24 22:20:20 +02:00