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
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
address_android.c.v
address_darwin.c.v
address_default.c.v
address_dragonfly.c.v
address_freebsd.c.v
address_linux.c.v
address_netbsd.c.v
address_openbsd.c.v
address_test.v
address_windows.c.v
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_windows.c.v
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
tcp_simple_client_server_test.v
tcp_test.v
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.