I ran the code and it works, but pointing to another issue i had in this thread Multicam with local ip streaming - #6 by multicore-manticore
I ran the code and I found this error to be a reason that is causing a segmentation fault
Thread 1 "python3" received signal SIGSEGV, Segmentation fault.
0x0000fffff41843cc in sl::ZEDmcu::getIMUCameraTransform() ()
from /usr/local/zed/lib/libsl_zed.so
on the receiver side i also tried to run two programs separately, where i just changed the port number for the receiver code but no image was being displayed