solved
Wrong thread, this concerns gui more then networking. GUILayer does not have a textfield member, it should be GUILayout. You should also use the code tags when you post code.