You'll have to be a bit more specific... there's both a "Cave Story Online", which is was a simple deathmatch game, and a "Cave Story Multiplayer", which is the full game with multiplayer.
Also, are you looking for a guide on hosting/joining a server, or an explanation of how it works at a...