Access external servers with c# or javascript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Access external servers with c# or javascript

how can i connect to a server or create a client in c# or javascript?

30th Mar 2017, 6:51 PM
Etabeta1🇮🇹
Etabeta1🇮🇹 - avatar
1 Answer
+ 10
a client in js is nothing special you could say it's a normal website the main difference is the server connection you have a lot of options one would be: you have a server and install node.js on it, it's a free framework which let's you set up a connection to your client very easy, this one is mainly used for multilayer games, you probably heard of agar.io or slither.io they are all made with socket.io another option would be to use a server which is programmed in php, such servers are used very very very often, if you take a look at any website with a normal login option then there is a chance of 95% (just guessing) that the server is programmed in php and contains a database I'm not sure about c#, but I guess you programm the server in .Net or sth like that (maybe someone knows it better)
30th Mar 2017, 8:01 PM
Kamil
Kamil - avatar