mirror of https://git.musl-libc.org/git/musl
Browse Source
all socket types are accepted at this point, but that may be changed at a later time if the behavior is not meaningful for other types. as before, omitting type (a value of 0) gives both UDP and TCP results, and SOCK_DGRAM or SOCK_STREAM restricts to UDP or TCP, respectively. for other socket types, the service name argument is required to be a null pointer, and the protocol number provided by the caller is used.master
4 changed files with 42 additions and 34 deletions
Loading…
Reference in new issue