Use sockets to communicate with another app?


I’m writing a game engine and would like to write a package to have Atom communicate with it, for stuff like hot-reloading, debugging, auto-complete etc.
Is there an API to open TCP/UDP sockets, discover other apps and communicate with them?


There isn’t one in the Atom API, no. But Atom is built on top of Node.js which has an extensive API and package system.