after meeting; since getting to know知り合う means “to meet” or “to get to know someone.” The particle と marks the person you meet, and 知り合って is the te-form. In questions about how long two people have known each other, the phrase is often followed by どのくらいになりますか.