0 branches
Tree
Top files
Clone with HTTPS:
html
net: fix net.html parser ignoring inner tags in tag.content (fixes #14138)
last Apr 21
33.97 KB
http
veb, fasthttp: efficicent memory management with -prealloc (memory is freed after the request is finished, no gc needed)
last May 13
710.55 KB
mbedtls
net.http: fix HEAD/1xx/204/304 responses hanging or erroring on Content-Length (#27000)
last Apr 26
61.11 KB
s3
net.s3, net.http: add an S3-compatible client and a scheme-handler dispatch in http.fetch (#27008)
last Apr 27
108.29 KB
smtp
net.smtp: strip display name from MAIL FROM / RCPT TO envelope addresses (#27072)
last May 3
19.41 KB
socks
net.http: fix long-running HTTP polling program encountering socket error (fixes #24302)
last Apr 15
4.7 KB
ssl
io: fix using io.read_all on a SSLConn giving a strange error (fixes #16557)
last Apr 15
3.87 KB
testdata
net: pure-V RFC 5952 IPv6 canonicalization, fixes Ip6.str() emitting deprecated ::a.b.c.d on libc (fix #27095) (#27096)
last May 6
6.35 KB
unix
net: stop using vlib-specific symbols in C. defenitions in `net` module (#27052)
last May 2
22.33 KB
address.c.v
net: pure-V RFC 5952 IPv6 canonicalization, fixes Ip6.str() emitting deprecated ::a.b.c.d on libc (fix #27095) (#27096)
last May 6
7.34 KB
address_test.c.v
net: fix veb test for listening on both IPv4 and IPv6 by default (fixes #26016)
last Apr 14
3.12 KB
ipv6_test.v
net: pure-V RFC 5952 IPv6 canonicalization, fixes Ip6.str() emitting deprecated ::a.b.c.d on libc (fix #27095) (#27096)
last May 6
9.72 KB
raw.c.v
net: stop using vlib-specific symbols in C. defenitions in `net` module (#27052)
last May 2
6.99 KB
tcp_simple_client_server_test.v
net: allow for a `::ffff:127.0.0.1` result in tcp_simple_client_server_test.v (#22385)
1 year ago
3.56 KB
tcp_test.v
ci: mark tcp_test.v and unix_socket_test.v as flaky (they still fail sporadically on the CI, although very rarely now)
last Jul 6
2.04 KB
udp.c.v
net: stop using vlib-specific symbols in C. defenitions in `net` module (#27052)
last May 2
13.5 KB
util.v
net: fix resolving of `::1:48872` (pass the `*should_listen_on_both_ipv4_and_ipv6_by_default_test.v` tests) (#22715)
1 year ago
1.31 KB
aasocket.c.v
net: stop using vlib-specific symbols in C. defenitions in `net` module (#27052)
last May 2
3.88 KB
address_darwin.c.v
veb: new fasthttp module with -d new_veb (multithreaded, epoll/kqueue): makes veb multithreaded and fixes frequent hangs
last Oct 24
1.17 KB
connection.v
net: add net.Dialer and net.Connection interfaces, abstracting the different types of connections, already supported by the V network stack (#21657)
1 year ago
315 bytes
ipv6.v
net: pure-V RFC 5952 IPv6 canonicalization, fixes Ip6.str() emitting deprecated ::a.b.c.d on libc (fix #27095) (#27096)
last May 6
6.63 KB
net_windows.c.v
net: fix compilation on windows (use casts to int for net.error_eintr etc)
1 year ago
12.33 KB
raw_test.v
net: add raw sockets support (implement feature request from #19565) (#26237)
last Jan 1
1.08 KB
socket_options.c.v
net: add raw sockets support (implement feature request from #19565) (#26237)
last Jan 1
1.71 KB
tcp.c.v
net: stop using vlib-specific symbols in C. defenitions in `net` module (#27052)
last May 2
21.39 KB
tcp_non_blocking_test.v
tests: skip some slow running tests on jobs that do not use tcc (only when the outputs/checked invariants *do not* depend on the used C compiler)
last Dec 7
1.4 KB
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.
UDP multicast example:
import net
mut socket := net.listen_udp('0.0.0.0:9999')!
socket.join_multicast_group('224.0.0.1', '0.0.0.0')!
socket.set_multicast_ttl(2)!
socket.set_multicast_loop(true)!