Skip to content

WSL1 cannot run veb #22493

@felipensp

Description

@felipensp

Describe the bug

Without commenting out on socket_util.c.v

		// net.socket_error(C.setsockopt(fd, C.IPPROTO_TCP, C.TCP_DEFER_ACCEPT, &config.timeout_secs,
		// 	sizeof(int)))!
		// queue_len := max_queue
		// net.socket_error(C.setsockopt(fd, C.IPPROTO_TCP, C.TCP_FASTOPEN, &queue_len, sizeof(int)))!

veb cannot run any example.

Reproduction Steps

v run examples/veb/veb_example.v

Expected Behavior

working

Current Behavior

socket error 92

Possible Solution

No response

Additional Information/Context

No response

V version

master

Environment details (OS name and version, etc.)

V full version: V 0.4.8 d3b380b.5aa6eaf
OS: linux, Debian GNU/Linux 10 (buster) (VM) (WSL)
Processor: 8 cpus, 64bit, little endian, Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz

getwd: /home/felipe/github/v
vexe: /home/felipe/github/v/v
vexe mtime: 2024-10-11 21:44:26

vroot: OK, value: /home/felipe/github/v
VMODULES: OK, value: /home/felipe/.vmodules
VTMP: OK, value: /tmp/v_1000

Git version: git version 2.20.1
Git vroot status: weekly.2024.41-14-g5aa6eaf3-dirty (1 commit(s) behind V master)
.git/config present: true

CC version: cc (Debian 8.3.0-6) 8.3.0
thirdparty/tcc status: thirdparty-linux-amd64 0134e9b9

Note

You can use the 👍 reaction to increase the issue's priority for developers.

Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.

Metadata

Metadata

Assignees

Labels

BugThis tag is applied to issues which reports bugs.Status: ConfirmedThis bug has been confirmed to be valid by a contributor.Unit: vebBugs/feature requests, that are related to the `veb`, V's official web framework.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions