Define server structure loop.