An XLR socket is an electrical connector that finds use in different types of audio visual and stage lighting equipment. Since an international standard for dimensions governs the manufacturing of all XLR sockets, compatibility is not so much a concern. However, since these sockets come with three to seven pins, and sell as male and female alternatives, you should know just what you are after. For example, three-pin XLR sockets work in connecting powered speakers, four-pin sockets find use in intercom headsets and DC power connections, and five-pin sockets are commonplace in the world of digital lighting control.
You can find a male and female XLR socket when you shop on eBay and your options also include XLR sockets with different numbers of pins meant for different applications. While you can find just the sockets, you can also find sockets that come with suitable cables. Given that an XLR socket, whether new or used, transmits electricity, do not compromise on quality.