logo
PERSONAL CHAT SERVER Back to Home Page



PChat is a 2 part program consisting of a server component and a client component. The server component (PChatSvc.exe) runs as a Service, and must be accessible from the WAN (Wide Area Network aka Internet) on a listening port of your choosing. The service has no visible components and operates with system privileges in Session 0. It comes with a small management program (PChatCtrl.exe) to provide the necessary interface between the Service Manager (services.msc) and the service itself. There is also daily log files to record access and errors.

The server component can also be run as a Desktop application (PChatS.exe) with a small window, which is how most users will operate in the beginning. Everything noted about the Service above also applies to the Desktop server component, as it is essentially the same program. The only noticeable difference is the location of the log files. The Desktop server component logs to a sub directory (folder) of the directory where it is located, whereas the service logs to "\Windows\System32\Logfiles\PChat\".

PChat is short for Personal Chat, as it provides for a single connection between two independent parties. Each client must have a UserID, but the UserID is not password protected and the messages are not encrypted. The server component is open to anyone, and only serves to allow the two parties to connect. Each party logs into the server and stays connected. A Heart Beat signal is periodically sent to the server to maintain the connection. If the server fails to receive the Heart Beat, the user is removed from the Connect list.

The server (Service or Desktop) will operate without being setup, and will default to using port 259, IPv4, and 5 maximum connections. If you install the service, it is installed to run in manual mode (not auto started), and when you run setup, it will setup both the Service and Desktop versions. Uninstalling the service removes the Service setup.

The Port will default to 259, but it can be changed. The IP Version will default to 4. The Server can be entered as a Domain Name or an IP Address (Default is 127.0.0.1/::1). Domain Names can only be used if they are properly registered, or you have entered them into the "HOSTS" file.

These programs in theory support non-Latin character sets (eg. Chinese/Arabic), but these have not been tested extensively.

NOTE: You can connect 2 parties on the same internal network as the server, but you cannot connect an outside party with a user on the same network as the server. When an inside party connects with the server, the Internal IP Address (eg. 192.168.1.64) is stored on the server. On a connection request, the server forwards whatever address was used to connect to the server, so forwarding an internal address to an external client will not allow the 2 parties to connect.

Client Component

Back to Top


| Home Page


address