Send string to and from raspberry pi

Scopes in C++