When you block a certain number on your iPhone you set a filter to receive messages from that person. Although you can not stop that person from sending a message to you, you will not receive any message at your end.