Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualPsychotikRabbit

Posted 13 December 2012 - 07:05 AM

You could also send/receive a byte array instead of using character stream as you seems to be only sending Numbers. I know it prolly won't improve a lot the speed but
optimization is always good. Go read about java object serialization/deserialization. You will save time by not creating a String and parsing it as you just want to send numbers.

#1PsychotikRabbit

Posted 13 December 2012 - 07:05 AM

You could also send/receive a byte array instead of using character stream as you seems to be only sending Numbers. I know it prolly won't improve a lot the speed but
optimization is always good. Go read about java object serialization/deserialization. You will save time by not creating String and parsing them as you just want to send numbers.

PARTNERS