From c336bda3e83a29a0a44b62330a7d4692d9fb63c3 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 10 Jul 2023 20:52:44 -0500 Subject: [PATCH] Cleanup: Fix socket documentation comment, where type is the actual socket type. The socket.type is not the address type, it is the socket type. The socket type is something like SOCK_STREAM or f_socket_type_stream_e. --- level_0/f_socket/c/socket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_0/f_socket/c/socket.h b/level_0/f_socket/c/socket.h index 9ff3dc3..323a8e2 100644 --- a/level_0/f_socket/c/socket.h +++ b/level_0/f_socket/c/socket.h @@ -285,7 +285,7 @@ extern "C" { * The socket.address may point to any valid structure, like "struct sockaddr", "struct sockaddr_un", or "struct sockaddr_in". * The socket.domain must be assigned the desired domain (protocol family). * The socket.protocol must be assigned the desired protocol. - * The socket.type must be assigned the desired type (address family). + * The socket.type must be assigned the desired socket type. * The socket.id will be updated with a file descriptor representing the created socket. * * @return -- 1.8.3.1