Connecting The Linux Server To The Client

Socket Communication Between Client and Server

The Windows server uses port 80 by default. Ports below 1024 cannot be used as a regular user in Linux (this includes port 80 used for http); these ports can only be used with root privileges. It's usually not a good idea to run the GPU PerfStudio server as root (or any other application for that matter). By default, the Linux server uses port 8080.

Connecting to a Windows Client

To run the GPU PerfStudio server with a client on windows, both machines need to be on the same network. On the Linux machine, type:

ifconfig

This will display the IP address of the Linux machine. Start the GPU PerfStudio server on the Linux machine with an OpenGL app in the normal way.

Open the client on the Windows machine and select 'File|Connect' from the menu or click on the connect icon. See how to Starting your application with GPU PerfStudio for more information.

When the Server Connection Dialog opens, Enter the IP address of the Linux machine in the "Server Host" line. Add the port number that the GPU PerfStudio server is using in the "Port" line (usually 8080) and Press the Connect button.