I have dealt with very similar feelings. I am married to a woman but still have homosexual attractions and have at times masturbated and looked at gay porn. I consider myself heterosexual as I don't think, and some might lynch me for saying this, that anyone is homosexual. I believe all people are heterosexual but some have a homosexual problem. let me explain.There is a common belief that homosexuality is inborn, biological, and therefore unchangeable, which there is no evidence to prove. The American Psychological Association (2008) in a statementabout homosexuality stated:"Although much research has examined the possible genetic, hormonal, developmental, social, and cultural influences on sexual orientation, no findings have emerged that permit scientists to conclude that sexual orientation is determined by any particular factor or factors. Many think that nature and nurture both play complex roles; most people experience little or no sense of choice about their sexual orientation."While there are no conclusive studies on the topic I believe, as stated above that nature and nurture play significant roles in the development of homosexuality.Dr. Joseph Nicolosi, a Psychologist who specializes in “reparative therapy” states in his book Shame and Attachment Loss (2009) that there is in fact a genetic piece which he believes to be a certain personality type, that given the right conditions, will develop into a homosexual problem. Generally those who develop homosexual feelings have similar personalities. It is usually a boy who is more sensitive, emotional, and caring. This coupled with certain environmental factors can create homosexual feelings within an individual. Nicolosi also discusses the role that environment plays in homosexual development. He explains what he calls the triadic family system. This system is a general model but many variations of this model can emerge and create the same result, but almost across the board there is some variation of this model in the past of people experiencing homosexual attraction. The triadic family system consists of the sensitive boy mentioned above, a mother with a dominant personality and a father who is either physically or emotionally distant or absent in the eyes of the boy. However, as I stated above there are many variations of this and this does not necessarily mean that the individual had an asshole for a father or a crazy person for a mother. This is where a lot of people become defensive, saying "I know someone who is gay but his dad is the nicest guy, a really good dad." The key in all this is perception. It is how the boy sees it. It doesn't matter how anyone else sees it. Sometimes the mother has some strong opinions but it is the sensitive nature of the boy, who always wants to please his mother, that causes him to do what she says and always tries to please her, often resulting in an unhealthy enmeshment between mother and son. This attachment to mother is usually preceded by an emotional disconnect from the father. Every child when born is attached to his or her mother. In our gender identity development stage we develop our gender identity through observations of the parent that we see ourselves most like. Girls have this easier because they are already very attached to the same sex parent but boys have to make a shift around the age of 18 months to three years. During this time the boy starts to see the difference between mommy and daddy and begins to realize mommy is a girl, daddy is a boy, I’m a boy and daddy and I are the same. This is when we see little boys copying there dads, wanting to put shaving cream on, wanting to mow the lawn with dad or help with the car. For boys experiencing homosexual feelings this transition did not happen the way it was intended. This can either be because the father was absent completely, traveled or worked a lot, or for many other reasons. Somewhere along the line the boy felt rejected by the father. This could be a very small event that the sensitive boy took very personally such as dad yelling at him in anger or frustration, even if it only happened once, or a large event such as the death of the father or a very abusive father, or a series of events that lead the boy feeling this way. He begins to feel that “dad doesn’t like or accept me.” As stated above it is a perception, not necessarily a reality, But a person's perception defines his reality. So the boy feels rejected and therefore the boy moves to what he is comfortable with and the person who he feels accepted and protected by, this is generally the mother and because of this the boy doesn’t make the shift. Without this shift the boy never really learns how to relate to men or learns how to be a man. When the boys starts school this becomes a bigger issue as this boy is generally the boy who stands at a distance on the playground watching the other boys playing sports wishing he could be part of them, because deep down he knows he is and wants to be a "boy", but not feeling equal to them or adequate enough to participate. He typically looks at these other boys wondering “what is wrong with me?” “How come I’m not like them?” He will study them trying to figure out how to be more like them usually resulting in ridicule and further alienation from his gender. This is an important time in the development of a boy. During this time of life the whole girls have coodies and the typical separation of genders that naturally happens with young children is an important part of development. During this time people normally become comfortable with their own gender so that when puberty hits they start noticing the opposite sex because their own gender isn’t interesting anymore, they want to see what's up with girls because they are now the mystery. Boys are now boring they’ve been hanging around them for years. So they begin asking themselves “what's up with girls?” This process of switching focus to the opposite sex does not happen for the youth experiencing homosexual feelings. For a boy struggling with homosexual thoughts he is still fixating on the other boys. They continue to be the mystery. They are ones he has been looking at trying to figure out and that fascination becomes sexualized as puberty hits. So what is typically under this attraction is one of two things. Either a feeling that the individual has that he is somehow deficient or inadequate in being “male” or a feeling of wanting to be accepted by other men. In a subconscious way the individual feels that he is very different from other men and can somehow gain what he wants in himself through sexual contact with other men. For the individual who feels that desire to be accepted by men and to be close to them subconsciously feels that need met when he is accepted sexually by another man. In a nutshell homosexuality is just a man needing to feel accepted by other men, and/or a man needing to accept his own masculine potential.This has my take on it. I have studied a lot on the topic and have been able to diminish and almost completely get rid of my attractions towards men. Like I said some people will adamantly oppose what I am saying it I am only saying what has been my experience, the experience of hundreds of individuals and what psychological studies have shown for a hundred years. some of the information for this post was taken from the following sources.Narth.comhomosexuality101.commapcounseling.orgThe American Psychological AssociationShame and Attachment Loss By Joseph Nicolosihope this helps some, I have dealt with very similar feelings. I am married to a woman but still have homosexual attractions and have at times masturbated and looked at gay porn. I consider myself heterosexual as I don't think, and some might lynch me for saying this, that anyone is homosexual. I believe all people are heterosexual but some have a homosexual problem., Examples supporting this are the famous twink porn star known as mike18, who has the physical appearance of a 14 yr old swimmer, and the famous porn film "scare collage" by cadinot, which though used over 18's chose boyish ones, placed them in schoolboy clothing, and enacted a story of a catholic boarding school and implied adult on boy sex..