chriskohlhoff / asio

Asio C++ Library
http://think-async.com/Asio
4.85k stars 1.21k forks source link

Query :Accepting multiple Tcp socket connection #1132

Open Sivasundareswaran opened 1 year ago

Sivasundareswaran commented 1 year ago

Hi Team ,

I am trying to develop Tcp Server using ASIO but facing challenges with accepting multiple tcp client connection , if anyone have any reference and idea please share it .

Thanks is Advance !

kashirin-alex commented 1 year ago

You are welcome to see https://github.com/kashirin-alex/swc-db/blob/9e418b23930b053f553379ef732a7512a87882cc/src/cc/lib/swcdb/core/comm/SerializedServer.cc#L75 as example (main fact is accepting socket creates a socket with client)

On Mon, Oct 3, 2022, 1:04 PM Sivasundareswaran @.***> wrote:

Hi Team ,

I am trying to develop Tcp Server using ASIO but facing challenges with accepting multiple tcp client connection , if anyone have any reference and idea please share it .

Thanks is Advance !

— Reply to this email directly, view it on GitHub https://github.com/chriskohlhoff/asio/issues/1132, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHLKBJXJWTP6E7TAILUEVLWBKVRDANCNFSM6AAAAAAQ3N7E4Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Sivasundareswaran commented 1 year ago

Ok thanks .