If there is a task to provide interaction between communications application and your own program (e.g. serial device emulator), there is no common solution to accomplish it. It is considered that communications applications are intended to work only......