mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 07:46:16 +08:00
net/udp: Fix several issues using connected UDP sockets: sendto() should not accept and address. Normally send() should be used instead. recvfrom() is no longer necessary. recvfrom() and poll() should not reset to accept any addresses but should, instead, only accept inputs and events from the connected remore peer. On of these issues was noted by 李桂丁 <liguiding@pinecone.net>. Changes were made as summarized here: http://www.masterraghu.com/subjects/np/introduction/unix_network_programming_v1.3/ch08lev1sec11.html
This commit is contained in:
@@ -595,7 +595,7 @@ struct ieee802154_pandesc_s
|
||||
|
||||
struct ieee802154_superframespec_s sfspec;
|
||||
|
||||
uint8_t gtspermit; /* 0=No GTS requests allowed
|
||||
uint8_t gtspermit; /* 0=No GTS requests allowed
|
||||
* 1=GTS request allowed */
|
||||
uint8_t lqi; /* Link Quality Indication of the beacon */
|
||||
uint32_t timestamp; /* Time at which the beacon frame was received
|
||||
|
||||
Reference in New Issue
Block a user