ua_network_udp.h 683 B

12345678910111213141516171819202122232425
  1. /* This work is licensed under a Creative Commons CCZero 1.0 Universal License.
  2. * See http://creativecommons.org/publicdomain/zero/1.0/ for more information. */
  3. #ifndef UA_NETWORKLAYER_UDP_H_
  4. #define UA_NETWORKLAYER_UDP_H_
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. #include "ua_server.h"
  9. #include "ua_client.h"
  10. /* Create the UDP networklayer and listen to the specified port */
  11. UA_ServerNetworkLayer UA_EXPORT * ServerNetworkLayerUDP_new(UA_ConnectionConfig conf, UA_UInt32 port);
  12. UA_Connection UA_EXPORT
  13. ClientNetworkLayerUDP_connect(UA_ConnectionConfig conf, char endpointUrl[], UA_Logger logger);
  14. #ifdef __cplusplus
  15. } // extern "C"
  16. #endif
  17. #endif /* UA_NETWORKLAYER_UDP_H_ */