Skip to main content

Networking

  • In net_bind(), IPPROTO_TCP as the third parameter gives the cryptic error -81, which is not really defined anywhere. This really needs to be IPPROTO_IP instead.
  • Get your port number right!