Help with UDP example

I am using TWR-K60N512 with PK60DN512Z VMD10 chip, and Codewarrior 10.5 IDE with MQX 3.8. I was following a very simple UDP example provided by Garoba, which is found in this link Simple UDP communication .

My code is almost the same, except I changed 'local_sin.sin_port' to something random, port 7. And I removed the ENET_initialize() after 'InitializeNetworking()', because that's already done in the function anyway.

It gets stuck at this line: sock = RTCS_selectall(0). This function waits for activity to be detected on any socket that the calling task owns.

1) What does this mean?

2) In the main task, where this function is called, a socket is created, so is it waiting for activity to be detected on that particular socket?

3) How do I create an activity on that socket?

4) Do I open another virtual terminal with port number set to 7, but with what Host address?

I tried the 169.254.3.3, 169.254.3.4, and the IP address of my system, nothing works. How should I troubleshoot this?