- Fix wrong error return (the errno was being returned and not placed   in errno) - Found by Weongyo Jeong - Remove two extra un-needed memset() after calloc()'s - Found by   Weongyo Jeong - Tightened up parameter requirement checking on input to   bindx/connectx per socket api spec. Approved by:	re@freebsd.org(Ken Smith)
- Fix wrong error return (the errno was being returned and not placed
  in errno) - Found by Weongyo Jeong
- Remove two extra un-needed memset() after calloc()'s - Found by
  Weongyo Jeong
- Tightened up parameter requirement checking on input to
  bindx/connectx per socket api spec.
Approved by:	re@freebsd.org(Ken Smith)

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase