0
How to Send Multiple UTFBytes Over Socket?
Explorer
,
/t5/animate-discussions/how-to-send-multiple-utfbytes-over-socket/td-p/7018991
Apr 18, 2015
Apr 18, 2015
Copy link to clipboard
Copied
So after searching around for days on Google and getting no answer, I figured I'd ask how to send multiple messages to a socket. I use the method writeUTFBytes and readUTFBytes, but it only sends and listens to one message over at a time. This is important for what I'm trying to do because I'm trying to send over messages of keys being pressed by the clients. Obviously multiple keys are pressed at a time, so it needs to be able to send a couple messages over in one. I tried making an array but you can't send those over using writeUTF or writeUTFBytes because it returns an error saying I need to use a string. Any ideas? Thank you.
TOPICS
ActionScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Have something to add?
Join the conversation

