warmcat / libwebsockets

canonical libwebsockets.org networking library
https://libwebsockets.org
Other
4.78k stars 1.49k forks source link

Can we specify source port with LWS4.2 in client mode #2590

Closed Rajasekhar-topgear closed 2 years ago

Rajasekhar-topgear commented 2 years ago

Hi Experts,

            Could you please let me know if we can specify source port with  LWS4.2 in client mode. If possible, please let me know how to pass the source port to LWS4.2.

Thanks, Rajasekhar.

lws-team commented 2 years ago

This feature exists on main thanks to a contribution 38a39a37108d9b0269c62a5e66dfefa5dca19b37

You can either try to backport it or use main.

Rajasekhar-topgear commented 2 years ago

Thanks for the info.