More send_msg support

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>
Check for NULL on delete_free

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>
Use autoconf to detect accept4

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>
Add get_handle to OOBase::Socket

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>
Move SO_PASSCRED after the accept call.

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>
Only update flags if needed

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>
Add socketpair() wrapper. Fix bug with set_close_on_exec.

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>
Don't call through to the virtual function here

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>
Bug fix in reallocate

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>
Use the libc vsnprintf, might cause problems on MSVC, but it works better

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>