SDLNet non blocking connection

Hello, I am trying to make TCP non-blocking and I have been looking for quite some time how to receive messages from the client to the server and the server receives that the data is available but it always says that the socket is not available.

	while (SDLNet_CheckSockets(netManager->sSet, 0) > 0)
	{
		if (SDLNet_SocketReady(netManager->clientTCP)) //Stops here
		{
			if (SDLNet_TCP_Recv(netManager->clientTCP, buffer, MESSAGESIZE) > 0)
			{
				printf("TCP Packet incoming\n");
				SDLNet_TCP_Send(netManager->clientTCP, "Message received", 17);
			}
		}
	}

In the code that I show clientTCP is the only socket that exists in the SocketSet.

I simply call SDLNet_CheckSockets() and it works for me. I don’t call SDLNet_SocketReady() at all, and I can’t even find it in the list of SDL2_Net functions.