Java Sockets - Sending Serialized Objects/Classes Networking

preview_player
Показать описание
In this tutorial, I demonstrate how to make a simple client-server application that uses Java's sockets for sending serialized (UK-serialised) objects/classes.

This tutorial doesn't use java nio (SocketChannels).

Let me know if you encounter any issues like:
SocketException abort: recv failed or connection reset. I'll help you fix them!

Please like, comment and subscribe because you're awesome like that :)
Рекомендации по теме
Комментарии
Автор

Finally there's someone with a decent english explaining, really appreciate it

lorenzovarsagod
Автор

Very helpful video! Straight to the point and also deals with a case whose code is rarely featured in books/videos. Thanks a lot

nadavkopit
Автор

This is simple but yet amazing
Congrats

alehunter
Автор

Thanks for the tutorial ! it works great.
Question though, When i run the server&client on the IDE once the Client sends a message and server responds both closes.
If i want to upload the server to a web host that supports Java programs, how can i make sure the server will keep on running and constantly be looking for more inputs to answer to?

amirblizovsky
Автор

Can I make a lag switch or a freeze program with this ??

yoloking
join shbcf.ru