<A HREF="agentkit_contents.html"><img align=center src="contents.gif" ALT="Contents"></A> Up Previous Next

agClient::MakeConnection

agConnection * MakeAgentConnection(char *host, char *service) Attempt to make a connection with a server specified by the host (machine name under UNIX, ignored under Windows), and service name (must contain an integer port number under UNIX).

If the server allows a connection, an agConnection object will be returned. The type of wxConnection returned can be altered by overriding the agClient::OnMakeAgentConnection member to return your own derived connection object.