Finally found the solution to my problem. Using UDP communication instead of TCP does the trick. The following MATLAB example can be used https://www.mathworks.com/help/instrument/basic-udp-communication.html
By splitting the example into 2 parts one with the receiver and one with the sender, and running them on two different simulinks, in my case, 32 and 64 Bit, I was able to connect, sync and run the simulation as originally wanted.