L laguilar Member Licensed User Longtime User May 21, 2013 #1 I'm currently using the socket object to send out several requests at once and receive. My problem is on the _Connected event. how can i determine which socket was connected if connecting several at once? My idea was to add a .Tag field to the Socket object. when creating the socket object i could set the tag with a variable of my choosing to make it unique and then once connected i can use the Sender object to grab the tag. is this a possibility?
I'm currently using the socket object to send out several requests at once and receive. My problem is on the _Connected event. how can i determine which socket was connected if connecting several at once? My idea was to add a .Tag field to the Socket object. when creating the socket object i could set the tag with a variable of my choosing to make it unique and then once connected i can use the Sender object to grab the tag. is this a possibility?
Erel B4X founder Staff member Licensed User Longtime User May 21, 2013 #2 You can use a Map to tie any additional information you need to the socket. Upvote 0