Check if port directions are compatible
Direction of source port (in/out/inout)
Direction of target port (in/out/inout)
Check if port directions are compatible