TCP Server

Discussion in 'Plugin Development' started by DevilMental, Jul 26, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    DevilMental

  2. Offline

    Cirno

    1: Formatting is really weird.
    2: Put these in new classes; it would help you somewhat help you debug it rather than digging through lines. Plus, it makes it easier to read.
    3: Try using UDP instead of TCP. With TCP, you need to port forward to host. With UDP, you don't; it's like hole punching your firewall and router. However, UDP is slightly less reliable. It's just my preference to use UDP.
     
  3. Offline

    xTrollxDudex

  4. Offline

    DevilMental

    The formatting is done by Eclipse, but yeah it is weird xD And I'll try UDP ;)

    I'm sorry but what are profilers ? (I'll google it)

    ~DevilMental
     
  5. Offline

    xTrollxDudex

    They help pinpoint sources that uses the most CPU cycles/time or memory, and take JVM statistics and thread status.
     
Thread Status:
Not open for further replies.

Share This Page