Just wanted to clarify that I am elated to be having a baby, whether it's a boy or a girl.
I think something that's difficult though is that gender preference is frowned upon, to the point where I see people who clearly desire to have a baby of a certain gender lying and saying "I don't care, I just care that I have a healthy baby" because it's the "right thing" to say. I think we should be grateful that we are having a baby, period. But I also think it's ok to admit that you are hoping for something, because it doesn't mean you are going to love the baby any less if it is different than you expected. Just as people say "I hope my baby has curly hair", and it doesn't mean they will love a baby with straight hair any less, you know?
I hear a lot of people saying that you will bond with the baby at birth either way so it's beneficial to wait until birth to find out, however I feel you can bond just as strongly when the baby is still in the womb. For me, the moment of realization and super strong bonding came during my first pregnancy at about the 5th month if I remember right, and I went to the doctor with a rash that they thought might be rubella. The doctor freaked out because she was pregnant and thought her baby could be harmed too. I spent a whole day (until the next day when I found out it was a normal pregnancy rash) not knowing if my baby was going to be ok. At that moment, all I could think was "I love my baby so much, I just want it to be alive. I don't care if my baby is deformed or anything different than what I dreamed of, I don't care about anything else except that I want my baby to be alive!" So from my point of view, if I have a moment of "gender dissapointment" or maybe more accurately "gender surprise" (because I feel strongly it's a girl) at the ultrasound, that moment will quickly pass and the bond with my baby will continue just as it has been for the past 3&1/2 months!