Merge remote-tracking branch 'sf/master' into rpl-patch
Conflicts: core/net/tcpip.c
This commit is contained in:
commit
d0ebeb409e
117 changed files with 8260 additions and 6932 deletions
|
@ -151,6 +151,10 @@ PROCESS_THREAD(udp_server_process, ev, data)
|
|||
NETSTACK_MAC.off(1);
|
||||
|
||||
server_conn = udp_new(NULL, UIP_HTONS(UDP_CLIENT_PORT), NULL);
|
||||
if(server_conn == NULL) {
|
||||
PRINTF("No UDP connection available, exiting the process!\n");
|
||||
PROCESS_EXIT();
|
||||
}
|
||||
udp_bind(server_conn, UIP_HTONS(UDP_SERVER_PORT));
|
||||
|
||||
PRINTF("Created a server connection with remote address ");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue