It looks like they go over the cell network rather than the Internet, but they have lots of the same concepts. SMSCs act like routers, for example.
https://en.wikipedia.org/wiki/SMS#Interconnectivity_with_oth...
https://en.wikipedia.org/wiki/SMS#Interconnectivity_with_oth...