ESP8266 Developer Zone The Official ESP8266 Forum 2016-08-10T10:33:53+08:00 https://bbs.espressif.com:443/feed.php?f=16&t=2534 2016-08-10T10:33:53+08:00 2016-08-10T10:33:53+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2534&p=8358#p8358 <![CDATA[Re: How to get remote client's IP and port number for UDP broadcasting?]]>
In the receive callback function, arg points to the corresponding espconn structure, so you should be able to access the connection related information from the structure when executing a receive callback and thus determine what action to take:
void espconn_recv_callback ( void *arg, char *pdata, unsigned short len )

Statistics: Posted by Guest — Wed Aug 10, 2016 10:33 am


]]>
2016-08-10T10:14:17+08:00 2016-08-10T10:14:17+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2534&p=8356#p8356 <![CDATA[How to get remote client's IP and port number for UDP broadcasting?]]> Statistics: Posted by ftdiyun — Wed Aug 10, 2016 10:14 am


]]>