ap_pclosesocket — close a socket created with ap_psocket()
int ap_pclosesocket(pool *a, int sock)
Closes the socket, using closesocket(), removing the cleanup function from the pool. Returns whatever closesocket() returns.
closesocket()