Fix buffer size of newcommsType
Unify capitalisation in newCommsIP and newCommsType