VortexConnection* coyote_connection_new2 gchar *  server,
gint  port,
gchar *  profile
 

Creates a VortexConnection to a remote server.

This function creates a new VortexConnection to the given server:port using given profile profile. It also registers the profile passed in as profile if it were not registered yet.

Remember if you don't register the profile passed in, this function will regiter it by using default values. See Vortex Profiles module documentation for a detailled discusion.

This function is similar to coyote_connection_new. It receives the port to connect to as an int value.

Parameters:
server server we are going to connect to.
port tcp port where the server is connected
profile beep profile identifier. Try COYOTE_SIMPLE_URI.
Returns:
a VortexConnection or NULL if fails.