MihailRis
|
3a40162f1e
|
Fix udp address resolve (#624)
* тест для udp + фикс udp
* fix udp addresses resolve
* update SocketUdpConnection::connect
* update SocketUdpServer::sendTo
* update udp test
* revert
* test
* test
* test
* test
* test
* test?
* update test
* cleanup
* cleanup
* update test
* update
* revert
* cleanup
* update test
* update test
* update
* fix test
* additional error handling
* update Network.cpp
* update Network.cpp 2
* fix the test
* cleanup Network.cpp
* revert network_tcp.lua extra changes
---------
Co-authored-by: Xertis <118364459+Xertis@users.noreply.github.com>
|
2025-09-25 17:02:42 +03:00 |
|
MihailRis
|
7d6ddfa535
|
add 'data' argument to http error callback
|
2025-09-16 23:17:06 +03:00 |
|
MihailRis
|
9fe26cc18d
|
enable follow-location for http get requests
|
2025-09-14 15:05:39 +03:00 |
|
MihailRis
|
f531d2e358
|
fix opening tcp server on macos
|
2025-09-14 13:45:07 +03:00 |
|
MihailRis
|
ee663fa322
|
improve setsockopt error message
|
2025-09-14 13:36:32 +03:00 |
|
MihailRis
|
3bd0ebcda2
|
Merge branch 'dev' into pathfinding
|
2025-09-11 18:06:16 +03:00 |
|
Onran0
|
6b4140f530
|
case fix
|
2025-09-10 04:36:21 +09:00 |
|
MihailRis
|
7826429a79
|
Merge branch 'dev' into pathfinding
|
2025-09-09 20:03:11 +03:00 |
|
MihailRis
|
9871bf1292
|
add 'headers' argument to network.get, network.get_binary and network.post
|
2025-09-08 23:46:37 +03:00 |
|
MihailRis
|
5204cfedf5
|
fix Network.cpp compile warnings
|
2025-08-31 13:37:22 +03:00 |
|
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 |
|