I am currently building a python application which uses sockets to communicate with other computers. I am almost finished with the backend (the frontend still looks atrocious), and I began thinking about expanding. Currently, my app is only intended to support Windows PC; however, I would like to expand to ios which would necessitate the use of Swift. I am writing this question to ask if python sockets can be shared across different types of devices (i.e. PC and iPhone) and different programming languages (i.e. Python and Swift). I am pretty sure that they can be shared across different types of devices, but I am unsure as to whether or not they can be shared with other programming languages. Thank you!
A socket in Python provides the same abstraction as a socket in C, C++, Perl, ruby, Java ... . This means application written in various languages can all communicate using sockets with each other. What is different are WebSockets in Javascript in the browser though - these need another WebSockets implementation as the peer but these can also be found for various programming languages.
Cross Platforming and Cross Languaging Sockets