1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/net
Delyan Angelov f427a5241a
os,tools: add os.vtmp_dir()
Use it to consistently place all temporary files created by tests in a overridable folder specific to the user, that is easy to cleanup later.

NOTE: os.temp_dir() on macos returns `/tmp`, and using `/tmp/v` is a problem when multiple unix users are trying to access/create/write to it.
2022-11-03 10:19:51 +02:00
..
conv
ftp all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
html checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03:00
http all: remove unnecessary IError() casts 2022-10-28 19:08:30 +03:00
mbedtls all: remove unnecessary IError() casts 2022-10-28 19:08:30 +03:00
openssl all: remove unnecessary IError() casts 2022-10-28 19:08:30 +03:00
smtp all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
ssl tools: add report_v_module_folders_without_tests.v . Use it to discover other modules without _test.v files. Add simple ones, to ensure CI can find more breakage on future wide changes to vlib/ 2022-10-16 22:40:17 +03:00
unix os,tools: add os.vtmp_dir() 2022-11-03 10:19:51 +02:00
urllib all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
websocket v fmt: fix extra space for lock/rlock without expressions (#16103) 2022-10-19 12:18:21 +03:00
aasocket.c.v net: ensure that net and net.unix can be imported together in the same program 2022-02-18 11:47:56 +02:00
address_android.c.v checker: improve pub struct check (fix #14446) (#14777) 2022-06-19 17:42:22 +03:00
address_darwin.c.v checker: improve pub struct check (fix #14446) (#14777) 2022-06-19 17:42:22 +03:00
address_default.c.v checker: improve pub struct check (fix #14446) (#14777) 2022-06-19 17:42:22 +03:00
address_dragonfly.c.v checker: improve pub struct check (fix #14446) (#14777) 2022-06-19 17:42:22 +03:00
address_freebsd.c.v checker: improve pub struct check (fix #14446) (#14777) 2022-06-19 17:42:22 +03:00
address_linux.c.v checker: improve pub struct check (fix #14446) (#14777) 2022-06-19 17:42:22 +03:00
address_netbsd.c.v checker: improve pub struct check (fix #14446) (#14777) 2022-06-19 17:42:22 +03:00
address_openbsd.c.v checker: improve pub struct check (fix #14446) (#14777) 2022-06-19 17:42:22 +03:00
address_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
address_windows.c.v checker: improve pub struct check (fix #14446) (#14777) 2022-06-19 17:42:22 +03:00
address.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
afunix.h
common.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
errors.v net.http: skip network timeouts on socket accept in the main http.Server loop 2022-10-23 17:08:27 +03:00
ipv6_v6only.h
net_nix.c.v net: add failed addresses + details on connect errors, make connect more robust in the default non blocking mode (#15364) 2022-08-07 10:40:05 +03:00
net_windows.c.v net: add unsafe block to int -> enum cast (#15961) 2022-10-03 21:56:06 +03:00
README.md
socket_options.c.v
socket.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
tcp_read_line.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
tcp_self_dial_from_many_clients_test.v tests: make tcp_self_dial_from_many_clients_test.v more robust (use shared ctx) 2022-08-20 13:32:59 +03:00
tcp_simple_client_server_test.v all: replace []byte with []u8 2022-04-15 15:35:35 +03:00
tcp_test.v tests: make error handling the same as the main function (#15825) 2022-09-21 19:45:43 +03:00
tcp.v all: remove unnecessary IError() casts 2022-10-28 19:08:30 +03:00
udp_test.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
udp.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
util.v all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00

Description:

net provides networking functions. It is mostly a wrapper to BSD sockets, so you can listen on a port, connect to remote TCP/UDP services, and communicate with them.