1856 Griffiths Val show James, John, and a Michael Cox in Aghadeffin.
1901 Census show 3 families widow Mary age 74 her husband was James,her sons live with her Thomas is married to Margaret Frain. unmarried sons James and Patrick at home.
2nd family listed John Cox wife Honoria he is also son of James Cox.
3rd family James Cox wife Ann he is son of John Cox.
Do you have information on which family you are interested in ?