49 Commits

Author SHA1 Message Date
Onran0
1bea391f1d fixes 2025-08-24 08:31:13 +09:00
Onran0
4a9aad04ff udp support 2025-08-24 02:39:05 +09:00
MihailRis
1bd3463488 fix "cannot resume dead coroutine" for servers 2025-07-26 17:08:45 +03:00
MihailRis
556a561f1c feat: error callback in network.get, .get_binary, .post 2025-04-30 19:15:39 +03:00
MihailRis
3d22de761f fix compiler warnings (GCC + Clang) 2025-03-20 22:04:29 +03:00
MihailRis
e3c86cd1da fix some small issues in Network.cpp 2025-01-28 11:34:18 +03:00
MihailRis
d2bbd82dbe add 'discardAll' parameter to socket:close(...) 2025-01-17 23:43:44 +03:00
MihailRis
96b904e61f add network.post 2025-01-08 17:02:07 +03:00
MihailRis
ae754e3da2 reduce log messages in release build 2024-12-04 12:00:22 +03:00
MihailRis
33a64915ad fix: tcp server not listening to clients 2024-12-04 11:58:37 +03:00
MihailRis
21c76c1b0d add socket:get_address, serversocket:get_port 2024-11-30 22:32:14 +03:00
MihailRis
14650562c2 update CURLOPT_USERAGENT value 2024-11-28 18:13:21 +03:00
MihailRis
95689b1115 add doc/*/scripting/builtins/libnetwork.md 2024-11-28 18:09:12 +03:00
MihailRis
46628263d1 add network.get_total_upload, .get_total_download 2024-11-28 10:21:16 +03:00
MihailRis
3b3407aef6 remove unused function 2024-11-27 21:18:11 +03:00
MihailRis
6b8ee77ff5 fix server shutdown with winsocks 2024-11-27 20:46:40 +03:00
MihailRis
79e311dd91 fix curl cleanup 2024-11-27 20:35:36 +03:00
MihailRis
43a838b1a5 fix WSAEAFNOSUPPORT (10047) 2024-11-27 20:31:05 +03:00
MihailRis
6af6eda78e refactor Network 2024-11-27 20:24:09 +03:00
MihailRis
7e0c95d126 prevent uncaught exception in thread 2024-11-27 19:54:17 +03:00
MihailRis
34974c4bb3 add network.tcp_connect and .tcp_open 2024-11-27 17:06:06 +03:00
MihailRis
847ef23092 add network.__closeserver 2024-11-27 16:14:20 +03:00
MihailRis
1b04a2a61e fix msvc build again 2024-11-27 16:07:21 +03:00
MihailRis
9e8addbd7d fix msvc build 2024-11-27 15:55:14 +03:00
MihailRis
a72d36f53c add simple inefficient server socket implementation (WIP) 2024-11-27 15:38:57 +03:00
MihailRis
233bc3174c add network.__close 2024-11-27 12:51:01 +03:00
MihailRis
fb0f4bff52 complete simple connection implementation 2024-11-27 12:10:59 +03:00
MihailRis
55de4848dc remove non-blocking mode 2024-11-26 21:07:30 +03:00
MihailRis
85d94017c7 catch EINPROGRESS and WSAEWOULDBLOCK 2024-11-26 20:32:57 +03:00
MihailRis
992cfefc8e update error message 2024-11-26 19:58:29 +03:00
MihailRis
353046b9d5 turn off extra workflows to minimize spam 2024-11-26 19:26:18 +03:00
MihailRis
13bdfef52a fix 2024-11-26 18:55:51 +03:00
MihailRis
b999c062d6 fix 2024-11-26 18:46:37 +03:00
MihailRis
419699bc0d update error handling code 2024-11-26 18:36:19 +03:00
MihailRis
edd4170532 minor refactor 2024-11-26 17:49:08 +03:00
MihailRis
8e0a8d6a47 fix 2024-11-26 17:24:52 +03:00
MihailRis
18bdce52df make socket non-blocking 2024-11-26 17:12:24 +03:00
MihailRis
90155dd05b rename functions 2024-11-24 07:58:07 +03:00
MihailRis
5e063d9fe0 refactor Network 2024-11-23 09:49:17 +03:00
MihailRis
e2b4239ffb fix 2024-11-22 08:01:59 +03:00
MihailRis
988adce975 add missing include 2024-11-22 07:42:00 +03:00
MihailRis
186078a8d5 make httpGet non-blocking 2024-11-22 07:28:18 +03:00
MihailRis
0a3daad86e fix 2024-11-15 07:23:41 +03:00
MihailRis
4aacd130ab update Socket interface 2024-11-15 07:09:55 +03:00
MihailRis
40ba7705b2 update Socket.send, recv 2024-11-11 20:09:56 +03:00
MihailRis
dc84fe1f07 add Network.connect (WIP) 2024-11-11 19:55:23 +03:00
MihailRis
4328c83c79 add httpGet error handling 2024-11-11 14:47:09 +03:00
MihailRis
d7389c2220 add Network.getTotalUpload, getTotalDownload 2024-11-11 04:26:07 +03:00
MihailRis
46dfdac998 add Network.httpGet (WIP) 2024-11-11 03:50:00 +03:00