Basic network communication code added

The code is still needed to adjust to cooperate with the whole project.

Signed-off-by: apporc <appleorchard2000@gmail.com>