mirror of
https://github.com/vlang/v.git
synced 2025-09-16 16:02:29 +03:00
picoev: fix documentation (#24811)
This commit is contained in:
parent
b909e2eb37
commit
6cbffd53ba
8 changed files with 50 additions and 44 deletions
|
@ -87,7 +87,7 @@ fn fatal_socket_error(fd int) bool {
|
|||
return true
|
||||
}
|
||||
|
||||
// listen creates a listening tcp socket and returns its file descriptor
|
||||
// listen creates a listening tcp socket and returns its file descriptor.
|
||||
fn listen(config Config) !int {
|
||||
// not using the `net` modules sockets, because not all socket options are defined
|
||||
fd := C.socket(config.family, net.SocketType.tcp, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue