WILCOM2 KEN MESSENGER SERVER CONFIGURATION


Database Configuration

Database Connection

Ken Messenger Server Deamon Configuration

User Configuration with Ken Messenger Server Manager

Automatic Distribution of Client Update

Ken Messenger Web Server Configuration


Database Configuration       


First time, the database Ken Messenger schema have to be created.
The creation scripts are available in the folder %Ken Messenger Server%/Database Script for MS SQL Server, Oracle and MySQL databases.
KMS is able to connect with the following type of database: DB2, Informix, Interbase, MySQL, ODBC, Oracle, SQLBase, MSSQL Server, Sybase.
KMS have only been tested and validate for MS SQL Server, Oracle and MySQL databases. However, KMS may work with other dabases.

Database Connection       


Start KMS and open the Database Connection Configutation Panel (menu tools)


We recommend the following parameters: 

Microsoft SQL Server Oracle MySQL
Database Type ODBC for best performances (or SQLServer) ODBC for best performances (or Oracle) ODBC for best performances (or MySQL)
Query Type Microsoft SQL Server Query Type Oracle Query Type MySQL Query Type (SQL 92)
Remote Database Wilcom2MSSQL (Create ODBC link prerequired with MyODBC) Wilcom2Oracle (Create ODBC link prerequired with MyODBC) Wilcom2MySQL (Create ODBC link prerequired with MyODBC) Drivers: 95/98/Me NT/2000/XP
Warning: Set Checked  the option "Don't optimize column width" on MyODBC driver
User Name wilcom2 wilcom2 wilcom2
Password
Other Parameters SQL DIALECT=3 SQL DIALECT=3
AUTOCOMMIT
SQL DIALECT=3
Number of Connections 40 40 40

Test the Connection with the button "Test Data Source"

If Test Ok, KMS, is able to connect the the database. Press the button "Connect Database" on the main form to create the database connections.



Ken Messenger Server Deamon Configuration       


Chose the IP and Port for the services:

IP: On start,KMS request windows en get the possible IP in a list. To make it work on the lan only, chose the IP off the LAN Connection. To make KMS available on the, connect to the server first and use the public IP for the server (Works if you have a fixed IP)

Port: it's possible to chose any port, but we recommand to let the default port :
Distribution Server: 20111. Distribute Connection Parameters (Communication Server IP&port, Update Server IP&port ...) to client on connect.
Communication Server : 20112 (to 20119 for other Com. Servers).
Update Server: 20110. Used only for update Ken Messenger.
WebServer: 20120. For Web service only.
Server Router: 20107 Used for communication between Communication Servers of differents domains. (Coming soon).

Note that client can communicate each other in Peer-to-peer mode (Client to Client directly). They use the ports:
File Transfert: 20109. 
Vocal Communication: 20108.

Then start the services pressing the button "Start Services" 

KMS is ready to work

The server is free up to 5 concurrent users. Get registered for more concurrent users to wilcom2 

Trace can be enabled.  Trace Activity may create heavy file quickly. It is recommanded to trace activity if requiered. Trace Server Error is recommended. This trace may be usefull to solves errors.



User Configuration with Ken Messenger Server Manager       


The application "Ken Messenger Server Manager" available with KMS is very usefull to administer the application. It's mainly used to create group and users. It can copy a group definition from a user to other users. Import User from a list.

The Ken Messenger Server tables in the database are selected and can be update.

The User configuration can be set, with the group definition and  the list off authorized persons to see the user status. Also, user list can be imported.


Automatic Distribution of Client Update       

 

Client cant be updated from the server. On every client login, the version of the client (Key [MainForm Ken Messenger]VersionNumber=0001 here version 0001) is compared to the 4 last digit of the file in the directory %KenMessengerServer%/Data/NewVersion on server (file kenmessenger0001.exe). If the version on the server is older than the version in the client, a panel "Do you want to update Ken Messenger?" popup on client startup.On OK click, the file kenmessengerxxxx.exe is download by the client and save on folder %KenMessenger% under the name NewVersion.exe. On next start of Ken Messenger, NewVersion.exe is executed and Ken Messenger updated. Client configuration are preserved.


Ken Messenger Web Server Configuration       


Now you can receive messages sent from any webpage in your Ken Messenger. Set up your own WEB2KMS today!


To display your status as an image in your own web pages.

copy & paste this code:

 
<img src="http://MyKMSServer.com:2013/cmd/statusimg?Wilcom2ID=John&Password=Thepass&From=Jane&Path=\Standart">

and replace "John" and "ThePass" with your own Wilcom2ID and Password, replace "Jane" with the user Wilcom2ID requested status, replace KenMessenger.com:2013 with your Server Domain Name or IP and Port Number. Set "Path=\Standart\FR" to get the french version.

 


To display your friend list with the status
Friends
  Bill Clinton (I'm having a sleep)
  Mickael Jackson (Looking for love)
  Fred Mercury

copy & paste this code:

 
<img src="http://MyKMSServer:2013/cmd/allstatusimg?Wilcom2ID=John&Password=Thepass&Path=\Standart">

and replace "John" and "ThePass" with your own Wilcom2ID and Password, replace "Jane" with the user Wilcom2ID requested status, replace KenMessenger.com:2013 with your Server Domain Name or IP and Port Number. Set "Path=\Standart\FR" to get the french version.

 


To allow users to get connected in order to send message

 

Wilcom2ID
Password

The connect panel as seen can be load with the following URL: http://MyKMSServer.com:20113/cmd/PanelConnect/Standart. The panel returned is the page  Connect.html located in %KenMessengerServerPath%\Data\WebServer\Standart. Note that for French version the URL is http://MyKMSServer.com:20113/cmd/PanelConnect/Standart/FR.

The panel can be also including the following code in your html page.

copy & paste this code:


<!-- Begin Ken Messenger Server connect message code -->
<form action="http://MyKMSServer.com:20113/cmd/connect" method=post>
<table border=0 cellpadding=2 cellspacing=0 style='border:1px solid #000000'>
<tr>
<td bgcolor=#DDEEFF><font face=Verdana size=2><b>Wilcom2ID</b></font></td>
<td><input type=text name=Wilcom2ID value="" size=22></td>
</tr>
<tr>
<td bgcolor=#DDEEFF><font face=Verdana size=2><b>Password</b></font></td>
<td><input type=text size=22 name=password value=""></td>
</tr>
<tr>
<td bgcolor=#DDEEFF align=center>
<p><input type=submit value=" CONNECT "></p>
</td>
<td></td>
</tr>
</table>
</form>
<!-- Begin Ken Messenger Server connect message code -->

This panel let the user getting connected. In return, the web server send the send message panel as seen below (SendMessage.html) if connection valid. Il not, the page NotConnected.html is returned.

 


To allow users to send you messages from your own web pages.

 

To (Wilcom2ID)
or To (E-mail)
Message

The send message panel as seen can be load with the following URL: http://MyKMSServer.com:20113/cmd/PanelSendMessage/Standart. The panel returned is the page  SendMessage.html located in %KenMessengerServerPath%\Data\WebServer\Standart. 

The panel can be also including the following code in your html page.

copy & paste this code:


<!-- Begin Ken Messenger Server send message code -->
<form action="http://MyKMSServer.com:20113/cmd/sendmessage" method=post>
<input type=hidden name=Wilcom2ID value="%WILCOM2ID%">
<input type=hidden name=password value="%PASSWORD%">
<table border=0 cellpadding=2 cellspacing=0 style='border:1px solid #000000'>
<tr>
<td bgcolor=#DDEEFF><font face=Verdana size=2><b>To (Wilcom2ID)</b></font></td>
<td><input type=name name=to value="" size=38></td>
</tr>
<tr>
<td bgcolor=#DDEEFF><font face=Verdana size=2><b>or To (E-mail)</b></font></td>
<td><input type=text size=38 name=email value=""></td>
</tr>
<tr>
<td bgcolor=#DDEEFF align=center><font face=Verdana size=2><b>Message</b></font>
<p><input type=submit value=" SEND "></p>
</td>
<td><textarea name=Message COLS=29 ROWS=5></TEXTAREA></td>
</tr>
</table>
</form>
<!-- End Ken Messenger Server send message code -->

This panel let the user send a message. In return, the web server send the sent message panel as seen below (MessageSent.html) if send valid. Il not, the page MessageNotSent.html is returned.

 

| Ken Messenger | Ken Messenger Server  | Ken Mail Server | KenFTP | Download |
| Tech Support  | About Us | Contact Us | Site Map | Comments to Webmaster |

© 1999 Wilcom2 Incorporated. All rights reserved.
Wilcom2, Kennel Net Light, Pro and Entreprise, Ken Mail Server, Ken Messenger, 
Ken Messenger Server, KenFTP are registered trademarks of Wilcom2 Incorporated.
All other trademarks are the property of their respective owners.

Updated Jully 10th 2006