Forge Cogs Forge Bar Title Forge Research Forge Bar Title
Forge Research Products
 
home
products
contact chronicle
authorize
ESM
ramoss
map intelligence
protekt encryption
protekt proxy tunnel
licence manager
freeware products
services
press room
white papers
contact us
about us
employment

copyright
privacy

Protekt Encryption

Example Server and Client

The example programs presented here show how easy it is to add Protekt to any program. In the listings, Protekt specific lines have been highlighted like this. These programs are only examples and are not necessarily production quality code.

Example Server

The example server below is a typical threaded Java network server. It uses one thread to accept incoming requests and one thread per request to service it. The code is shown below, with the lines changed to support TLS highlighted.



Example Client

As with the server, very little code needs to be added to use Protekt in the client. Again, the code is shown below, with the lines changed to support TLS highlighted.