[asio] async_accept shares port?
2 Apr
2009
2 Apr
'09
9:30 p.m.
HI! I've got another strange question, hope it is not very dumb. I'm launching two programs on my computer. Each tcp_acceptor in each program calls async_accept on one port and so is ready to accept connections. When I try to connect to the predefined port, I am connecting to the app that called async_accept later. As I thought, when trying to listen to port that is already accepting connections - another program will receive some error_code, but I do not see this in my case. Where is the mistake? Thanks!
5701
Age (days ago)
5701
Last active (days ago)
0 comments
1 participants
participants (1)
-
Roman Shmelev