Tangent API - A Simple and Efficient Way To Do Client Server Programming

What is Tangent API?
How Does Tangent API Work?
The Tangent API Model
Download
Example: Create a Chat Application Using Just Notepad
Example: Sample Application Using C#
Additional Notes for Developers
Trust in Tangent API

Example: A Chat Application Using Just Notepad

The following files can be downloaded and viewed/edited using Notepad. However, using a text editor such Notepad++ or Notepad2, will allow you to see the syntax coloring of the code. To run, make sure to have downloaded and installed the Tangent API demo first, then double-click each file to run starting with "run chat server.vbs".

run chat server.vbs

send message to server.vbs

This code shows an example of creating a zero-configuration client using Tangent API.

The files have been configured to run from the same machine. However, you could run the two files, each from separate machines that are on a LAN. Simply install the Tangent API demo on two machines. Then from one machine, edit the "run chat server.vbs" file in a text editor and change the IP address to match the machine's LAN IP address. Then double-click "run chat server.vbs" to run. Also on this machine, make sure the specified port is opened for TCP and UDP communication, which is port 2550 in the files but can be changed of course. Then, from the other machine, run "send message to server.vbs" (no need to configure an IP address in this file, and no need to open any ports on this machine).

To see how it all works, just view the files in a text editor and read the comments/code! If you need more details on the Tangent API methods used in the code, you can download the documentation.

For additional support or any questions, send an email to support@tangentapi.com.

Tangent API Copyright © 2008-2010 Nilesh Humbad. All rights reserved.