Make sure that your game files are in good working order. On your My Games list, find DOD:S and right click it. Go to Properties. Go to the Local Files tab. First "Defragment cache files." which is a quick process. Then "Verify integrity of game cache," which could take several minutes. Then defragment again.
If there was a problem with your game files that prevented you from connecting, this ought to fix it.