How the adapter works

Because communication over sockets is through streams or bytes, the adapter needs some protocol to be able to distinguish where one message begins and another one ends.

To meet this need, the adapter provides the following options: