Just after some clarification.
Manual states that all TCP functionality should reside in same task. However i have seen examples of peoples code calling send functions from other tasks i.e get_host_by_name() is this safe if we apply retriction not to repeatedly call, or should all socket writes be within the TCP task.