sockets now use byte array buffers to handle all recieve functions and the file send function