reset of packetsize for server->client func