I have set up a connection to Googles C2DM system. It works - sort of.
When I ask C2DM to \"ping\" my Android device, it does so sometimes, but far from always. The
haha, it seems like I have to answer my own question again =)
So, I spent the last 48 hours testing, reading, searching for a solution to the HttpWebRequest
problem, or rather the problem with HTTP requests.
All the suggestions I found was of no use to me, except this one:
http://www.eggheadcafe.com/community/vb/14/60113/webclient-to-http-post--error-on-receive.aspx
There is says that
After much research on the internet I stumbled upon suggestions that said to set Keep-Alive to FALSE and to use HTTP1.0.
but he also notes that it didn't work for him:
However, when I try to use that function, I am unable to successfully perform ANY POSTs on EITHER machine - my home or work PC
However, it seems to have solved my issue completely!
Lets hope it sticks =)