v/vlib/net
Tarcisio Gruppi 23dc85d94d
Making string index methods follow the same standard
All string index methods that end with `_opt` return `?int` with none as
the value when the substring is not found
and the index methods that do not end in `_opt` return `int` with -1 as
the returned value when the substring is not found
2022-03-17 09:27:11 -03:00
..
conv ci: do not use htonll and ntohll on windows, use the portable versions instead. 2021-10-02 18:21:16 +03:00
ftp all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
html net: fix html dom debug print (#13625) 2022-03-01 19:20:40 +02:00
http Making string index methods follow the same standard 2022-03-17 09:27:11 -03:00
openssl math: move the `math.mathutil` generic `min`/`max`/`abs` fns to `math` (#13042) 2022-01-05 18:02:20 +02:00
smtp net.smtp: add STARTTLS and implicit SSL support (#13473) 2022-02-16 09:18:51 +02:00
unix parser: check error for defer propagate (fix #13534) (#13536) 2022-02-20 12:29:08 +02:00
urllib Making string index methods follow the same standard 2022-03-17 09:27:11 -03:00
websocket rand: simplify rand.PRNG, move to optional types for error handling (#13570) 2022-02-23 12:36:14 +02:00
README.md docs: adding skeleton README.md files for all vlib modules (#13034) 2022-01-05 18:06:08 +02: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.v net: fix errors of new_ip(), new_ip6() and ip6.str() (#13020) 2022-01-03 15:10:15 +02:00
address_android.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_darwin.c.v net: ipv6 support, merge unix+ip;[pack:x] attribute (#9904) 2021-06-13 23:53:38 +03:00
address_default.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_dragonfly.c.v net: copy the freebsd address declarations for netbsd, openbsd, dragonfly 2022-01-20 20:15:50 +02:00
address_freebsd.c.v net: base address_freebsd.c.v on darwin instead of linux 2021-07-21 17:31:32 +03:00
address_linux.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_netbsd.c.v net: copy the freebsd address declarations for netbsd, openbsd, dragonfly 2022-01-20 20:15:50 +02:00
address_openbsd.c.v net: copy the freebsd address declarations for netbsd, openbsd, dragonfly 2022-01-20 20:15:50 +02:00
address_test.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_windows.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
afunix.h net: ipv6 support, merge unix+ip;[pack:x] attribute (#9904) 2021-06-13 23:53:38 +03:00
common.v time: use `Duration(C.INT64_MAX)` as infinite (#10539) 2021-06-22 12:17:44 +03:00
errors.v builtin: change IError `msg` and `code` to methods + fix vlib, add a deprecation notice for the old usages (#13041) 2022-02-11 15:52:33 +02:00
ipv6_v6only.h net: ipv6 support, merge unix+ip;[pack:x] attribute (#9904) 2021-06-13 23:53:38 +03:00
net_nix.c.v net: cleanup #include directives 2021-05-22 10:53:19 +03:00
net_windows.c.v net: ipv6 support, merge unix+ip;[pack:x] attribute (#9904) 2021-06-13 23:53:38 +03:00
socket.v ci: vfmt vlib/net/socket.v 2022-02-22 15:21:20 +02:00
socket_options.c.v net: ipv6 support, merge unix+ip;[pack:x] attribute (#9904) 2021-06-13 23:53:38 +03:00
tcp.v net: extract a common Socket struct, reuse it by embedding in TcpSocket & UdpSocket (#13559) 2022-02-22 10:34:38 +02:00
tcp_read_line.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
tcp_simple_client_server_test.v fast.v: freebsd fixes 2021-09-23 13:48:41 +03:00
tcp_test.v ci: bump retries to 8 for vlib/net/tcp_test.v 2022-01-28 10:07:37 +02:00
udp.v net: extract a common Socket struct, reuse it by embedding in TcpSocket & UdpSocket (#13559) 2022-02-22 10:34:38 +02:00
udp_test.v net.websocket: fix server not listening for IPv4 (#12717) 2021-12-06 11:10:25 +02:00
util.v net: ipv6 support, merge unix+ip;[pack:x] attribute (#9904) 2021-06-13 23:53:38 +03:00

README.md

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.