views:

873

answers:

2

I started to write a provider for APNs in .Net today, and it seems I've hit a brick wall...

Everything I'm finding about securing sockets says that a System.Net.Sockets.Socket cannot implement SSL. I'm fairly new to raw sockets programming...does anyone know of a way to connect a raw socket to a server over SSL?

+1  A: 

You might want to take a look at apns-sharp. I've done some experimenting with Push Notifications, and was able to get the server side of things up and running with that in very little time at all. (Even if you don't use it as-is, the source may help you.)

Sixten Otto
I notice the developer(s) used a TCPClient object in stead of a plain socket, which makes sense. Thanks for the help!
jtrim
This library (apns-sharp) has been greatly improved/fixed since this was posted, I encourage you to check it out!
Redth
A: 

In my opinion, you don't need to use open source things for achieving that if you have serious or critical project instead you can use a professional push notification provider.

I like this guys, they are making realy different things then others. Check-out MonoPush project Note : Don't forget that users very sensitive you don't have to make mistake.

fyasar