WinTalk Sample

This document contains the release information for the NGWS Wintalk sample.  You will find the following sections below:

 

Sample Overview

WinTalk is a Windows application that allows you to communicate to another remote WinTalk client using TCP/IP sockets. The application has a Windows user interface, which contains two multi-line edit controls and two buttons ("Connect" and "Disconnect"). The upper edit control will display status messages as well as incoming "talk" messages from a remote running WinTalk. The bottom edit control is where the user types outbound messages.

 

Location of the Sample

This sample list located in the Wintalk directory of the NGWS SDK sample directories.

For Example:

C:\Program Files\NGWSSDK\Samples\Wintalk

 

Building the Sample

In order to properly build and run this sample, the following steps need to be performed prior to building and running the sample…

·         Type NMAKE ALL from the command line.

For Example:

C:\Program Files\NGWSSDK\Samples\Wintalk\CS\:>NMAKE ALL

 

Running the Sample

In order to run this sample, follow the instructions listed below.

For Example:

C:\Program Files\NGWSSDK\Samples\Wintalk\CS\:>Wintalk

Note: that since the connect dialog defaults to host="localhost" and port="5000", clicking connect and then clicking "OK" on the connect dialog will most likely result in WinTalk attempting to connect to itself.  If this happens, WinTalk will initially accept the connection, realize that a connection is in progress, and immediately terminate the connect request