I want to understand in very simple steps/language what happens under the hood when
a) an sms is sent to a number like 40404
b) A web server receives an HTTP request with GET/POST parameters and executes an action.
i) What actually happens between a)
and b)
.
ii) What open source libraries (not cloud APIs) are there for handling that transition.
I know that there are APIs (like Twilio) etc that do this for me...but i want to know at a very high level what exactly is going on so I can actually learn this stuff.