Hey I'm making a basic application which allows you to chat and surf the web together with a person across the web. But I need to know how to transmit the messages and internet addys.

I was thinking mabey a IP 2 Ip sort of thing. Help! Any samples I could see?