(A)synchronous socket management