Philip Prindeville wrote:
> You can create an SSL context and then bind a connection listener to
> it.
> If the library doesn’t specifically handle the case of DTLS (I know it
> handles SSL and TLS), then it shouldn’t be too hard to cobble something
> together and even get it
Philip,
On Wed, Aug 15, 2018 at 11:36 PM Philip Prindeville
wrote:
> Have a look at:
>
> http://www.wangafu.net/~nickm/libevent-book/Ref6a_advanced_bufferevents.html
>
> you don’t need a dedicated thread per connection.
I know. I have already full blown single threaded event loop that
works fine
> On Aug 15, 2018, at 2:09 PM, Richard Weinberger wrote:
>
> Philip,
>
> Am Mittwoch, 15. August 2018, 21:36:30 CEST schrieben Sie:
>>
>>> [snip]
>>
>>
>> Have you tried using Libevent? It supports SSL/TLS/DTLS connections.
>
> Can you please explain? I fear I miss something.
Have a loo
Philip,
Am Mittwoch, 15. August 2018, 21:36:30 CEST schrieben Sie:
>
> > On Aug 11, 2018, at 9:22 AM, Richard Weinberger wrote:
> >
> > Hi!
> >
> > I have a hard time figuring how to write a DTLS UDP server that supports
> > multiple
> > clients. My dummy single user server works fine.
> >
>
> On Aug 11, 2018, at 9:22 AM, Richard Weinberger wrote:
>
> Hi!
>
> I have a hard time figuring how to write a DTLS UDP server that supports
> multiple
> clients. My dummy single user server works fine.
>
> To support multiple clients I tried two approaches:
> 1. singled threaded async IO,
Please could you raise this as a github issue? I'll try and take a look
at it (although it may be a while since my current focus is on the 1.1.1
release).
Matt
On 11/08/18 16:22, Richard Weinberger wrote:
> Hi!
>
> I have a hard time figuring how to write a DTLS UDP server that supports
> multi
Hi!
I have a hard time figuring how to write a DTLS UDP server that supports
multiple
clients. My dummy single user server works fine.
To support multiple clients I tried two approaches:
1. singled threaded async IO, preferred since I have to deal with many clients
2. multi threaded, one thread