Adding more UDP support + example.

This commit is contained in:
Brad Nelson
2022-08-10 23:41:40 -07:00
parent 71109e3880
commit 00c6a87228
4 changed files with 73 additions and 0 deletions

View File

@ -23,7 +23,18 @@ z" accept" 3 sysfunc sockaccept
z" poll" 3 sysfunc poll
z" setsockopt" 5 sysfunc setsockopt
z" send" 4 sysfunc send
z" sendto" 6 sysfunc sendto
z" sendmsg" 3 sysfunc sendmsg
z" recv" 4 sysfunc recv
z" recvfrom" 6 sysfunc recvfrom
z" recvmsg" 3 sysfunc recvmsg
1 constant SOCK_STREAM
2 constant SOCK_DGRAM
3 constant SOCK_RAW
2 constant AF_INET
16 constant sizeof(sockaddr_in)
1 constant SOL_SOCKET