Skip to content

Commit 1ce41e1

Browse files
authored
Update nf-winsock-bind.md
Third parameter is the length of the `addr` parameter, not `name` parameter.
1 parent 3c91600 commit 1ce41e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk-api-src/content/winsock/nf-winsock-bind.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ A descriptor identifying an unbound socket.
5959

6060
A pointer to a <a href="/windows/desktop/WinSock/sockaddr-2">sockaddr</a> structure of the local address to assign to the bound socket .
6161

62-
### -param namelen [in]
62+
### -param addrlen [in]
6363

64-
The length, in bytes, of the value pointed to by the <i>name</i> parameter.
64+
The length, in bytes, of the value pointed to by the <i>addr</i> parameter.
6565

6666
## -returns
6767

0 commit comments

Comments
 (0)