how to listen and talk at the same time across different machines [closed]

asked 2013-06-10 06:24:01 -0500

Bholms gravatar image

I now can get one machine to talk and the other one listen, but if I wanna do something like "instant messaging" at both computers such that still one talk one listen but they can switch listener/talker position. For example, I talk you listen, but if you talk, I can hear too. Now I am using std::cin to achieve string input on the talker side.

How do I achieve the half-duplex communication as I described?


edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-05-28 22:31:04.240167


Please clarify what you want to do. This is too vague to help you.

tfoote gravatar image tfoote  ( 2013-07-14 22:13:42 -0500 )edit