getCurrentConnectionType