lemunozm / message-io

Fast and easy-to-use event-driven network library.
Apache License 2.0
1.11k stars 74 forks source link

udp: connect: Add source address option #145

Closed kgraefe closed 1 year ago

kgraefe commented 1 year ago

This option allows to specify the source address and port for outgoing UDP packets.

Resolves #130

kgraefe commented 1 year ago

I think when the config gets longer, we could define it with the builder pattern. For now, it's ok!

Oh yes, I'd like that!