there is one simple vb.net chat programming sample , just look it

http://vb.net-informations.com/communications/vb.net_chat_server_program.htm