Game Server | Sololearn: Learn to code for FREE!

+1

Game Server

Hi i have a home server. ( ubunto server ) i installed ssh service. with my phone (Termux app) i connected to the ubunto server and tested it. Server ip: 192.168.42.133 I want to find and figure out how game server comminucate with client. how send data such as xp and position(x,y) and damage to all client. Should i have web server? How client send data to server and recieve data ? What is the file format to send ? ( json or ... ) send data with http protocol or other protocol ? shoud i create an Api for server ? how i handle requests ? What tools and concept i need ? I want the base concept for researching. please tell me your suggestion

2/20/2021 11:23:43 PM

ali

1 Answer

New Answer

0

i typically have just used a basic network socket for this kind of thing, and invented my own protocol.