mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-19 05:59:05 +03:00
set server port
This commit is contained in:
1 parent
b42028a4ee
commit
6b25bd6c1c
1 file changed
+1
-1
+1
-1
@@ -71,7 +71,7 @@ main(int argc, char **argv) {
|
||||
exit( 1 );
|
||||
}
|
||||
|
||||
ctx = coap_new_context();
|
||||
ctx = coap_new_context(0);
|
||||
if ( !ctx )
|
||||
return -1;
|
||||
id = rand() & ((1 << (8 * sizeof(coap_tid_t))) - 1);
|
||||
|
||||
Reference in new issue
Block a user