var socket = newSocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)
    
    
    Run

`newSocket` is default with `IPPROTO_TCP`

Dunno why the example is like that though.

Reply via email to