How to test IPCSocket example

I’m just testing IPCSocket.xojo_binary_project for getting how it works.
After copying the example binary project with another name like IPCSocket1.xojo_binary_project & IPCSocket2.xojo_binary_project, I just tried to run it.
I can see the first one runs and I can click ‘Listen’ button, but I couldn’t bring up the second one.

I’ve checked the Commsocket.path and found the file(path) is the same.
Am I missing something?

Thanks.
Changwon.

It seems to work for me.
Did you save IPCSocket1 and IPCSocket2 in the same folder by any chance?
The second copy didn’t want to run for me when they were saved in the same folder.
Saving IPCSocket2 to a different folder and then running it worked for me.

[quote=177360:@changwon lee]I’m just testing IPCSocket.xojo_binary_project for getting how it works.
After copying the example binary project with another name like IPCSocket1.xojo_binary_project & IPCSocket2.xojo_binary_project, I just tried to run it.
I can see the first one runs and I can click ‘Listen’ button, but I couldn’t bring up the second one.

I’ve checked the Commsocket.path and found the file(path) is the same.
Am I missing something?.[/quote]

Build the app, run the build, then in the IDE run the project.

It is normal that the path is the same in each instance of the app.

See http://documentation.xojo.com/index.php/IPCSocket

From his description I wasn’t sure if he could build or not, hence why I tried it with ‘run’ instead.

Right. I did not think about that. renaming one instance is a nice way to run both.

I’ve tried to run the second one in other directory. It didn’t work either.
However, with the same directory it worked in Mac.

I think I should consider other thing in Windows.
I don’t have any license on building a app for now.

Dirk Cleenwerck
Did you run both on Windows?

It works after copying the second one into other directory with the different name.