So first off I would like to say sorry for first messaging pimp king rich, and then crest with what you are about to read. I know its a little spammy, but I’m in a coding mood and really just need the most instantaneous response I can get. (to rich and crest: I still would like to see what responses you guys have, I just thought I’d widen out my audience some)
without further wait: I understand how to send packets to the server, and I understand how to receive the packets. But I have one little problem, I don’t get how to send them back to the client. Like I understand how to set up my buffer, and I get how to send it to the array (kind of). but how does the server know who to send the data to? How can I customize it via username to send it to that username? I don’t understand.
And is there a way from the server to get the username of who sent in a packet to use for responding with a packet? Or would I just say senddatato index, buffer.toarray? Idk, I need a little explaining on this one.