@brianboru72:
Sorry to hear about what you went through. It's not clear though, but from what I understood- he broke up with you before getting together with this other guy? If so, then as someone distant enough to give another perspective- maybe he was being decent enough to break up with you before hooking up with someone else. That counts for something.
It sucks to be dumped that way- but in my own experience- the biggest risk of a long distance relationship is that you tend to lose out to someone who is physically there. It's human nature and you can't blame someone for falling for a person who they can get together with regularly vs someone who is so far away. Not to say that it's impossible for long distance romance to work out- but the odds are against you.
As to becoming friends- as I said he seems to have at least done the decent thing and broken up with you before hooking up with someone else. If you can get past that, and leave your romantic notions in the past, then by all means be friends with him again. But if you still have emotional baggage to deal with, then it's best to keep your distance, let the wounds heal and meet someone new.
i totally agree with you and the thing is he might have already been intimate with someone even before the breakup. If you feel uncomfortable being friends with him then don't but , in your case, when its inevitable not to see him then maybe you could focus yourself on something else or someone else.