SocketException and fullfilled the wrapper with default API functions