Apple really had bad documentation about how the provider connects and communicates to their service (at the time of writing - 2009). I am confused about the protocol. If anyone out there could provide a C# sample of how this is done, it would be greatly appreciated.
Does anyone know how to write an Apple Push Notification Provider in C#?
I hope this is relevant (slightly), but I have just successfully created one for Java, so conceptually quite similar to C# (except perhaps the SSL stuff, but that shouldn't be too hard to modify. Below is a sample message payload and crypto setup:
int port = 2195; String hostname = "gateway.sandbox.push.apple.com"; char passwKey = "