How do I go about connecting to a specified IP and then both send and recieve data?