/*
- * Copyright (C) 2016-2019 "IoT.bzh"
+ * Copyright (C) 2015-2020 "IoT.bzh"
* Author: José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
char hbuf[NI_MAXHOST], sbuf[NI_MAXSERV];
int rgni;
- itf->fdev = afb_socket_open_fdev(itf->uri, 1);
+ itf->fdev = afb_socket_open_fdev_scheme(itf->uri, 1, "tcp");
if (!itf->fdev) {
ERROR("can't create socket %s", itf->uri);
return 0;