Ok so i have created a socket server and client from some tutorials i have been looking at but one thing i carnt find out how to do is how to call a method from the server from the client, so say for example i have a button on the client which when the button is pressed it goes to the server and calls a method getName() and then the server returns the string name to the client
thanks in advance, houlahan
It's not quite that simple. When you click a button, the button client sends a message to the server. The server will have a listen method that has to interpret the message to call getName().
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks