RejectedSoftware Forums

Sign up

TCP over SSL/TLS

Hi,

I know there is a lot going on with vibe and dub but adding a simple example on how to setup a TCP connection over TLS in vibe would really help newcomers like myself.

Thx!

Re: TCP over SSL/TLS

On Sat, 30 Mar 2013 17:16:08 GMT, olivier henley wrote:

Hi,

I know there is a lot going on with vibe and dub but adding a simple example on how to setup a TCP connection over TLS in vibe would really help newcomers like myself.

Thx!

... I mean when the time is good. :)

Re: TCP over SSL/TLS

On Sat, 30 Mar 2013 17:17:49 GMT, olivier henley wrote:

On Sat, 30 Mar 2013 17:16:08 GMT, olivier henley wrote:

Hi,

I know there is a lot going on with vibe and dub but adding a simple example on how to setup a TCP connection over TLS in vibe would really help newcomers like myself.

Thx!

... I mean when the time is good. :)

I've added some basic examples to the API documentation: https://github.com/rejectedsoftware/vibe.d/blob/master/source/vibe/stream/ssl.d#L2

If anything doesn't work as in the examples, please just shout. I didn't take the time yet to actually test them.

Re: TCP over SSL/TLS

Super thx!