socketplate quickstart app entry point
int main(string[] args) { return runSocketplateApp("my app", args, (SocketServer server) { server.listenTCP("127.0.0.1:8080", (SocketConnection connection) { // IPv4 }); server.listenTCP("[::1]:8080", (SocketConnection connection) { // IPv6 }); }); }
int main(string[] args) { return runSocketplateApp("my app", args, (SocketConnection connection) { // listening addresses are read from `args` }); }
See Implementation
socketplate quickstart app entry point