Re: communication between 2 socket
Novello wrote:
Hello, thank for your answer
Given the constraints above, probably not. However, there may be a better
way of
providing the functionality you require, but you didn't tell us what your
basic
requirements are.
I have a PLC system that is a Client who connect to a server on port 5000.
From my PC Clients I need to communicate with the PLC and sending commands
and receiving answers.
What is a "PLC" system?
The PLC system is configured to connect to a given IP at the port 5000.
How can I connect my PCclients to the PLC ?
I'm not sure I understand what you are trying to achieve.
Are you wanting to setup some kind of proxy service so that your "PLC client"
can sit between your PCs and the PLC server? If that's the case then it depends
entirely on what "PLC" is, how it operates, and what flexibility you have in
programming the communication between your PLC client and server.
I dont know nothing about RMI, I have to study. If you have any other ideas
please let me know.
PLC(1) ----> ServerPCL <-----ServerPC <-----ClientPC (n)
Do you think there is a better solution?
By the way, is RMI the way to go?
thanks a lot!
You need to provide more information, with details of the communication used by
your "PLC" system.
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555