2 Years
Discussion Span
Last Post by jwenting

"you can't."

Never say never...

        Socket synchSocket = new Socket();
        synchronized (synchSocket) {
            // etc

Although I'm pretty sure that's not what he means


Edited by JamesCherrill


means if i make a method in my project for example any frame with textbox then how would i synchronize that to another pc socket


So this is just another way to continue your previous topic? SInce you ignored the advice in that one, and continued to ask pointless questions without enough information, I don't think you will do any better in this thread unless you improve your approach.


so you want some mechanism to synchronise content displayed in instances of your application over a network.
Why didn't you just say so. Completely different question...

And one that has a multitude of potential solutions, some more reliable than others, some faster than others, some easier to implement than others.

But first you'll need to learn to ask the right questions, and ask them in the correct way. Which means showing some research into the topic, not some blanket request for people to do your thinking and coding for you.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.