Does web api have more advantage than socket communication?
===

Does web api have more advantage than socket communication when I am writing a software need calling server to function?

If we write a web api,do we can take advantage of http, http server, web app framework to do more thing with less work than doing it by socket ?

If my client call my server through internet, Do we have not any reason to not implement it as web api ? 


