See I know nothing of the part of the drive train, but this is why I wanted an image.
Those spiders are pressed it seriously hard. By the looks of it, the spider, whilst now unusable, is still intact.
So if that's still intact. then it would have been the thing that is held in by that broke, not the driveshaft. Although you will want a new spider.
Unfortunately, this doesn't look like a thing that simply happens overnight. There probably would have been some sort of knocking noise or play before this occurred. You can see from the state of the lower arms that the suspension units need attention, so it could have been just neglect that has led this failure. I would concede wear and tear but this seems extreme.
I guess your best bet is to get it jacked up, wheels and hubs off to investigate.
If you can do the investigation yourself, you can figure out what has failed, and thus save yourself time/money having someone else do it.