Now able to send packets to server and recieve