How do you know when a guy wants just sex or a relationship?

It could stem from past experiences or personal traits, but what do you think are indicators?
How do you know when a guy wants just sex or a relationship?
Post Opinion