<human>: So I got back in touch with an old friend from childhood who I kinda had a crush on. We chatted for hours about the old days, flirted a lot and did some sexy chatting. He told he has a boyfriend and that they "have an understanding" that flirting is okay. 

He then came to my house a bit later where did more than just flirt. We did everything but penetrative sex. He tells me afterward that everything we did is allowed in their relationship. He also tells me that his current boyfriend is great but he's not the person he wants to spend the rest of life with. 

This has left me a little confused. I've never been in a relationship before and I really really like this guy.

Can you summarize the given text in a few sentences?
<bot>: I like a guy in an open relationship and I think he likes me back. I don't know what I'm doing.