Adding socket error type.