Server creates packets and puts them in a buffer