Java Sockets Tutorial

Java Sockets Tutorial

FavoriteLoadingAdd to favorites

A straightforward screencast showing how two processes on different machines can communicate together over the network using Java Sockets. The tutorial assumes the viewer has a working knowledge of the Eclipse IDE. Links to the source code are available on my website: http:/themobilemontage.com/teaching/screencast-tutorials/

source

Java468x60
By |2021-03-05T12:42:41+00:00March 5th, 2021|Java Video Tutorials|24 Comments

24 Comments

  1. itamar8910 March 5, 2021 at 12:42 pm - Reply

    Thank you, great tutorial ๐Ÿ™‚

  2. Bunfire123 March 5, 2021 at 12:42 pm - Reply

    Very clear, thank you.

  3. Sandeep Chauhan March 5, 2021 at 12:42 pm - Reply

    Please talk louder .. i am listening to this video at 2 am in the morning with pin drop silence , still its hard to listen without concentration ๐Ÿ˜›

  4. Majd Biadsy March 5, 2021 at 12:42 pm - Reply

    it soย informative , you helped me a lot , thank you so much.

  5. James Hughes March 5, 2021 at 12:42 pm - Reply

    I had it at 100% when that load beep went off in my ear. So much for my PC audio through the Sony soundsystem to amp it up.

  6. Dennis de Vink March 5, 2021 at 12:42 pm - Reply

    Like he said, it's hard to hear

  7. Kadder Malik March 5, 2021 at 12:42 pm - Reply

    hi is good Java Sockets Tutorial
    can you give me the code source (this Tutorial)

  8. Akshay Aradhya March 5, 2021 at 12:42 pm - Reply

    I almost fell asleep ๐Ÿ˜› Talk Louder Dude

  9. Dani March 5, 2021 at 12:42 pm - Reply

    Thnx man really Clean tut!!!! i like!!!

  10. Jeff Chittenden March 5, 2021 at 12:42 pm - Reply

    lol

  11. izookim March 5, 2021 at 12:42 pm - Reply

    low volume man!!!!!

  12. Sova Tao March 5, 2021 at 12:42 pm - Reply

    seems like a good tutorial but can't hear so well

  13. Chris Waller March 5, 2021 at 12:42 pm - Reply

    1:06 OW

  14. Pompelipom33 March 5, 2021 at 12:42 pm - Reply

    Very good tutorial. Thanks!

  15. MALAKA SAM March 5, 2021 at 12:42 pm - Reply

    Assuming your server program can handle multiple clients, what is the maximum number of clients the server can handle?
    Also, can the server use single port (9999) for all the client connections? Doesn't it have to assign new port for each new connection?
    thanks.

  16. Vlaxiti March 5, 2021 at 12:42 pm - Reply

    thats great very informative . thnx! but lets say, taht the client wants to parse a variable , then the server would want to do some operations with that varable and return soem results. how can i transfer a parameter or varieable . , thnx in advance ! ๐Ÿ˜› keep up the good work

  17. tehrealbinglebob March 5, 2021 at 12:42 pm - Reply

    If I send someone the client half and they run it with my IP address as the first argument and the port as the second, and I have the server part running on my computer should it work? It works fine when I run both the server and client on my PC but my friend said that cmd just closed.

  18. Brainlet March 5, 2021 at 12:42 pm - Reply

    This is amazing, thank you so much.

  19. Carl Brando March 5, 2021 at 12:42 pm - Reply

    can you post the code?

  20. Aizzat March 5, 2021 at 12:42 pm - Reply

    @batwingd i guess RebelHQ is correct. Ive got to put my headphones and increase it more to really hear it. Anyway helpful video. thanx.

  21. Jonathan Engelsma March 5, 2021 at 12:42 pm - Reply

    @RebelHQ Hmm, if you're on Windows maybe check your master volume setting? I can hear the audio fine.

  22. Jonathan Engelsma March 5, 2021 at 12:42 pm - Reply

    @leehyuk57 Actually, the client program expects you to provide the server address as a command line parameter, and it defaults to "localhost" if you do not provide on. This is independent of which Java IDE you are using.

  23. mint chan March 5, 2021 at 12:42 pm - Reply

    Hi, you set up the client program to have the same IP address as the server.
    The problem is i dont know how to do that because I'm using Neatbeans 6.8.
    Can you help me?? thanx^^

  24. jorreerroj March 5, 2021 at 12:42 pm - Reply

    thx, this video was really good ๐Ÿ™‚

Leave A Comment

*