Hello,
I'm currently working on a simulator for power plant diagnostics at Argonne.
Due to how our existing code base is designed, one of the components in our project requires multiple instances of JCA that may or may not be running at the same time. Ideally we would only have a single instance of JCA in a singleton object, but we don't
want to fundamentally change how our project is structured.
What would be the best way to do this? I assume there is a way to have each instance of JCA use a separate port so there are no conflicts. As it stands now we just keep getting the following error:
java.net.SocketException: Unrecognized Windows Sockets error: 0: Cannot bind
Any thoughts?
Thanks,
Tom Olson