This is very basic. The way a Trojan works is a reverse of the way a server client program works, which is why they call it Reverse TCP/IP.
This will teach you how the two programs can communicate with each other.
This will teach you how the two programs can communicate with each other.
TrojanExample.rar
drive.google.com