As far as I see you send each Character seperately. Someone correct me if I'm wrong, but shouldn't you send packets instead? I mean, sending UDP does require a handshake, and isn't it a waste of performance if you do that logical handshake for every single byte?
I guess you can write the entire string to the stream, then send the UDP Message. Well, as I said, maybe I'm wrong here, it's some time ago since I did UDP stuff the last time.
I guess you can write the entire string to the stream, then send the UDP Message. Well, as I said, maybe I'm wrong here, it's some time ago since I did UDP stuff the last time.