RobotStudio event

TCP/ip

I am trying to establish communication between an ABB robot and a Baumer camera using TCP/IP socket communication. Please guide me if anyone knows a solution. I have tried all possible methods, but my program gets stuck at the socket.accept step."