Quest
I am trying to talk to SRCDS Server from node.js through the RCON protocol . The RCON protocol seems to be reasonably explained, implementations can be found at the bottom of the site in all major programming languages. Using them is simple enough, but understanding the protocol and development of the JS library is what I intended to do.
Background
As a self-taught programmer, I missed a lot of Computer Science Basics - I only found out what I needed to accomplish what I wanted. I started coding with PHP, ended up wrapping my head around OO, talking to databases, etc. I am currently programming with JavaScript, more specifically doing web things with node.js ..
Binary data?!?!
I have read and understood the absolute binary basics. But when it comes to packet data, I'm completely lost. I would like to read and understand the conclusion of wirehark, but I cannot make any sense if this happens. My biggest problem is probably that I don’t understand what the binary representation of various INT and STRING (char ..) from JS looks like and how I convert the data received from the server into something suitable for use in the program.
reference
, - . , ", , , C.S.".:)
PHP, ( ) , JS. , , PHP, , JS node.js.
, , . , , , . , , - HOWTO PHP/JS..
!