What is a subnet mask in TCP/IP

What is a subnet mask in TCP/IP?

This question has not been answered yet.