changed binding API with netcap and netdec to bind_netdec