Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

sockets_stresstest.c File Reference

sockets_stresstest.c File Reference

Sockets stresstest. More...

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.