Java Socket Programming 2 - Single interaction single client

Поделиться
HTML-код
  • Опубликовано: 20 окт 2024
  • We look at actual code for a client/server that have a single interaction: The client connects, the server sends the day's date, the client displays it, and that's it.
    This is an important step towards building what we really want!

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

  • @Edouardos100
    @Edouardos100 2 года назад +2

    Your 1 hour 4 videos explained everything I needed to know to get into web/sockets,good shit

  • @JamesBrown-lq5nn
    @JamesBrown-lq5nn Год назад +1

    Fantastic explanation, clear and to the point LOVE IT😉

  • @caseymoreno8991
    @caseymoreno8991 3 года назад +4

    Literally the best explanation I've heard on socket programming, Thank you!

  • @arfianid
    @arfianid 2 года назад +1

    Did you put this video on playlist?

  • @elchusky
    @elchusky 3 года назад +1

    Hey man, got a question. What SERVER_IP should i use if i want the server to run on my computer and the client on other computers? I tried with my public IP but gives me an error. Thanks in advance

  • @fatemakhalfan6980
    @fatemakhalfan6980 4 года назад +3

    Thanks for clear explanation ✨

  • @michaelosullivan3806
    @michaelosullivan3806 4 года назад +1

    Hey David! I'm getting errors right at the start on the toString (make main not static) and the parentComponent / status (resolve symbol) I'm using mac, could this be an issue, or would it be settings or libraries that I need to import? Thanks!

  • @TheManas1979
    @TheManas1979 3 года назад +2

    Thank you very much dude, all is easy and understandable.

  • @Granite
    @Granite 3 года назад +1

    7:30 incompatible types: InputStream cannot be converted to Reader

    • @ddobievich
      @ddobievich  3 года назад

      hmm, good question; I'm not sure but two things to check are that you're using a BufferedReader object (rather than some other types of reader) and that your import statements all match mine. If you're importing a different class with the same name it might cause this.

    • @Granite
      @Granite 3 года назад

      @@ddobievich I was using byte arrays so I just started using raw inputs instead

  • @elbozo5723
    @elbozo5723 3 года назад +1

    you’re a student? looks like you’re a teacher now