TCP driver message hex send problem

I have a problem described here.
I tried to open the socket, but the socket opens on the client side, needed on the server. How to solve this problem?