ReactOS 0.4.16-dev-732-g2d1144a
sockets_stresstest.c File Reference
#include "lwip/opt.h"
#include "sockets_stresstest.h"
#include "lwip/sockets.h"
#include "lwip/sys.h"
#include "lwip/mem.h"
#include <stdio.h>
#include <string.h>
Include dependency graph for sockets_stresstest.c:

Go to the source code of this file.

Detailed Description

Sockets stresstest

This file uses the lwIP socket API to do stress tests that should test the stability when used in many different situations, with many concurrent sockets making concurrent transfers in different manners.

  • test rely on loopback sockets for now, so netif drivers are not tested
  • all enabled functions shall be used
  • parallelism of the tests depend on enough resources being available (configure your lwipopts.h settings high enough)
  • test should also be able to run in a real target

TODO:

  • full duplex
  • add asserts about internal socket/netconn/pcb state?

Definition in file sockets_stresstest.c.