Thread is what you are talking about. It's awesome.
https://en.wikipedia.org/wiki/Thread_(network_protocol)