Universal Robots Forum

Socket Event after receiving some message in URCap


I use the Socket TCP IP and Port for sending and receiving the command between my application and URCap via DataInputSteam and DataOutputStream

I would like the URCap to reply back to my application after received, I guess that may need some event to handle it because I tried to reply with some command via simple loop so they can reply back correctly but during that process, the URCap will freeze itself until finish the reply loop.

Could you please suggest me how to create some event after I got some message via DataInpuStream

Hi everyone,

Please help the topic as above