Java Networking Tutorials Using [GNetLib] For Beginners! [part 7 / 12]

Please subscribe to my channel for more tutorials like this =D

and like my facebook page for fast updates
https://www.facebook.com/pages/IndieDeveloper/677156749048066

and my twitter for even faster updates!
https://twitter.com/Indie_Devoloper

Creating The Client and Server!

og0VPQ2TjiU

Creating Our first Packet!

9b6fuwGURro

Creating Our first Packet Class!

_6IoYUaq1Pc

Send Packet from Client to Server!

zTZzjTgiMjI

Send Packet from Server to Client!

-1fc8PrOeQo

Use Packet Data Sent From Client to Server!

43_wdC2aGRA

Use Packet Data Sent From Server to Client!

jHliFGfr-0A

To Come!
Send Packets on Event!
server SendToAll (Packet)
server SendToAllBut (Packet)
Send Packet To Server From Client Responds With Packet!
Send Packet To Client From Server Responds With Packet!

Oooo I’m excited for this! I hope you finish this!

i will =D, i’am doing next video tomorrow, all week i will do videos and add some more that’s not on the list

2 new videos are out =D make sure to check em out =D

Cool man! i am excited to check this out :slight_smile:

i am working on an tower defence game for school now :slight_smile: but i am very interested in networking, so when i am far enaught to work on my own projects
beside college , will i totally check this out :slight_smile:

thank you.

-Justin

good luck and thanks =D

Could you do a tutorial on how to make a server with game rooms?

you mean like GameLobbys? where you see all players like Call Off Duty?

Yeah let’s say like a lobby and the players that are in that lobby could start a game, I mean like a different instance.

can you draw something out? on how you mean?

Hey great tutorials man. One question I have. When I keep the client and server on locahost, everything is all smooth. But as soon as I set the IP to my remote IP and try and connect that way, everything slows down significantly, packet sending/receiving seems to behave strangely. Any idea why that might be?

If its on your local host it only has to ping your LAN card but if it has to go to a server it has to actually travel somewhere, thats why :stuck_out_tongue:

i will look in to this!