Add an error check to every setsockopt call in uxnet.c.