networklayer_udp.h 587 B

123456789101112131415161718192021222324252627
  1. /*
  2. * This work is licensed under a Creative Commons CCZero 1.0 Universal License.
  3. * See http://creativecommons.org/publicdomain/zero/1.0/ for more information.
  4. */
  5. #ifndef NETWORKLAYERUDP_H_
  6. #define NETWORKLAYERUDP_H_
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. #ifdef NOT_AMALGATED
  11. # include "ua_server.h"
  12. #else
  13. # include "open62541.h"
  14. #endif
  15. /** @brief Create the UDP networklayer and listen to the specified port */
  16. UA_ServerNetworkLayer ServerNetworkLayerUDP_new(UA_ConnectionConfig conf, UA_UInt32 port);
  17. #ifdef __cplusplus
  18. } // extern "C"
  19. #endif
  20. #endif /* NETWORKLAYERUDP_H_ */