525 |
pcb->remote_port = port; |
pcb->remote_port = port; |
526 |
/** TODO: this functionality belongs in upper layers */ |
/** TODO: this functionality belongs in upper layers */ |
527 |
#if 0 |
#if 0 |
528 |
|
|
529 |
pcb->flags |= UDP_FLAGS_CONNECTED; |
pcb->flags |= UDP_FLAGS_CONNECTED; |
530 |
/* Nail down local IP for netconn_addr()/getsockname() */ |
/* Nail down local IP for netconn_addr()/getsockname() */ |
531 |
if(ip_addr_isany(&pcb->local_ip) && !ip_addr_isany(&pcb->remote_ip)) { |
if(ip_addr_isany(&pcb->local_ip) && !ip_addr_isany(&pcb->remote_ip)) { |