hello, can anyone show me an example of how to write a GUI tcp server/client app? I just don't know how to do event stuff in callback such as connect,disconnect,recieve data ETC. the sample scripts are all console based.