Now, the driver checks if a socket is connected before trying to close it. Without this check, the close call will fail if we close a socket that has not been connected to a server.
We now track what IP address a socket is connected to. recvfrom expects that the interface will assign the SocketAddress pointer parameter to a valid IP address, so this change aligns with that.
recvfrom
expects that the interface will assign theSocketAddress
pointer parameter to a valid IP address, so this change aligns with that.