I am implementing a Mac OSX app, where my Mac app has to work as server, and client will be cloud extension. cloud will try to connect to my server. once it get connected and I get client in server.accept , I have to send message from server(Mac app) to client. I am not able to find how to do that. I tried to add my own method to TCPServer class but it doesn't work at all. when I call that method, it just crash the app.
I am implementing a Mac OSX app, where my Mac app has to work as server, and client will be cloud extension. cloud will try to connect to my server. once it get connected and I get client in server.accept , I have to send message from server(Mac app) to client. I am not able to find how to do that. I tried to add my own method to TCPServer class but it doesn't work at all. when I call that method, it just crash the app.