- Moved a 'errorCode' parameter from Socket into SocketImp.