Teradici PC over IP (PCOIP) > Alphabetical Listing of Functions > pcoip_disconnect

pcoip_disconnect

Disconnects the client from the server.

C Language

void pcoip_disconnect( );

Example Teradici PCoIP Protocol

Arguments

None

General

pcoip_disconnect disconnects the client from the server.

Return Values

No value returned.

Parameterization

Standard parameterization is not available for this function.

Example

This action shows a connection and disconnection.

	pcoip_set_broker_address("mybroker.com", "443");
			
	pcoip_set_auth("hogan", "my_demain", lr_decrypt("123abcdefghi"));

	pcoip_connect("my_server", "123.123.123.123", "my_server", "4172");

	pcoip_set_display(800, 582);

	lr_think_time(5); pcoip_mouse_click(626, 13, LEFT_BUTTON, 0, "snapshot2");

	pcoip_disconnect();