If you mean wireless play, it depends entirely on the game.
The 3DS itself will hold a long list of registered friends, but how many can actually connect in a single session is set by each title. Download play and local multiplayer have their own limits, and some games only support a handful of players at once. Check the specific game if you are planning a group session.