This is exactly one less than the Ramsey number $R(3,3)$. To see this, create a graph whose nodes are the people attending a party. If two people are acquainted with one another, we color the edge between their nodes blue. If they are strangers, then we color the edge between them red. Restating the question, this means that in any induced subgraph on $3$ vertices, we want at least one blue edge and at least one red edge. In other words, this is saying that such a graph on $5$ vertices exists, but a graph on $6$ vertices does not. One can construct such a graph on $5$ vertices after some trial and error, and to see that $6$ is impossible is a nice application of the pidgeonhole principle.
(It is one less than the Ramsey number since the Ramsey number is the first number for which this is impossible)