[Java Workshop Series] Java Network Programming : UDP Client/Server

Поделиться
HTML-код

Комментарии • 8

  • @alexanderreyer2134
    @alexanderreyer2134 6 лет назад +2

    10:45 you don't have to multiply it by 8 because a byte-array already creates 8 bits per letter. Just pass the String.length() to the new byte array call. byte buffer[] = new byte[strText.length()];

    • @rectaalborween8471
      @rectaalborween8471 5 месяцев назад

      Thank you for clearing up, I was confused for a moment as to why we need multiple bytes per character if our encoding is UTF-8.
      However this raises a question, is UTF-8 actually limited to 1 byte per character? Online I get told that UTF-8 may occassionaly need 2 or even 4 bytes, does this not mess up our code?

  • @MoonMoon-pv3pm
    @MoonMoon-pv3pm 8 лет назад +5

    can you please upload
    the source code ??

    • @anaskanhouch478
      @anaskanhouch478 7 лет назад

      You can download the source code (Netbeans Project) from here:
      drive.google.com/file/d/0B1TvE6z0dhgtOWdXLVp6Zk9JTzQ/view?usp=sharing

  • @princeheir1347
    @princeheir1347 8 лет назад

    Can YOU Show the Whole syntax Phrase Please

  • @phuongo8893
    @phuongo8893 8 лет назад

    can you speak slow and after video?

  • @bestest43
    @bestest43 7 лет назад

    HOCAM SELAMLAR!!!!

  • @sudarsana1433
    @sudarsana1433 7 лет назад

    confusion