07-21-2009, 10:47 AM
I mentioned that I have a ComfortServer that allows multiple connections to Comfort through one UCM/Ethernet connection. I have wanted to do more development on it before making it available, but I am just not finding the time. A couple people have expressed interest in it so I have decided to make it available as it currently is and I will publish updates in due course. It does work, but it is not perfect and does not have all the functionality I would like it to have. I make no warranties. Use at your own risk.
It operates at the sockets level and simply passes any commands it gets from any client through to Comfort as it was sent by the client and sends any message it gets from Comfort to all the clients that are connected. The server does not do a logon, so the (first) client should pass a logon through to Comfort for all the clients to be logged on and once any client logs off all the clients will be logged off. (This is one of the elements I would like to develop further).
The server installs as a windows service and uses a configuration file. Goto the install directory and look for comfortserver.exe.config and find the following section:
<ComfortServer.My.MySettings>
<setting name=\"ComfortAddress\" serializeAs=\"String\">
<value>giltrow.dyndns.org</value>
</setting>
<setting name=\"ComfortPort\" serializeAs=\"String\">
<value>1001</value>
</setting>
<setting name=\"ServerPort\" serializeAs=\"String\">
<value>30000</value>
</setting>
ComfortAddress and ComfortPort is the internet (IP) address and port number of your Comfort system that the server will connect to - The same as you would enter into the ComfortClient. Change this to your Comfort address.
ServerPort is the port number that the server will serve on. The IP address will be the IP address of the computer that you install the server onto. Your clients will then connect to the IP number of the computer and the ServerPort.
The server creates its own log called ComfortServerLog in the windows system log and can viewed through the event viewer.
Let me know how it goes.
Cheers,
Clinton.
It operates at the sockets level and simply passes any commands it gets from any client through to Comfort as it was sent by the client and sends any message it gets from Comfort to all the clients that are connected. The server does not do a logon, so the (first) client should pass a logon through to Comfort for all the clients to be logged on and once any client logs off all the clients will be logged off. (This is one of the elements I would like to develop further).
The server installs as a windows service and uses a configuration file. Goto the install directory and look for comfortserver.exe.config and find the following section:
<ComfortServer.My.MySettings>
<setting name=\"ComfortAddress\" serializeAs=\"String\">
<value>giltrow.dyndns.org</value>
</setting>
<setting name=\"ComfortPort\" serializeAs=\"String\">
<value>1001</value>
</setting>
<setting name=\"ServerPort\" serializeAs=\"String\">
<value>30000</value>
</setting>
ComfortAddress and ComfortPort is the internet (IP) address and port number of your Comfort system that the server will connect to - The same as you would enter into the ComfortClient. Change this to your Comfort address.
ServerPort is the port number that the server will serve on. The IP address will be the IP address of the computer that you install the server onto. Your clients will then connect to the IP number of the computer and the ServerPort.
The server creates its own log called ComfortServerLog in the windows system log and can viewed through the event viewer.
Let me know how it goes.
Cheers,
Clinton.

