Hi,
i have some UDP transmissions where i need to definitely set the source
port (my transmission port) to a given value!
I did this always with:
dvtxcon=netconn_new(NETCONN_UDP); // New connection
modsrv_addr.addr=htonl(msgqueue[msgq1-1].adr); //
Prepare target IP address
netconn_connect(dvtxcon,&modsrv_addr,msgqueue[msgq1-1].port); // Open
Connection
netconn_bind( dvtxcon, NULL, kreg[602] ); // Set source
port to configured value
After upgrading to LwIP 1.4.0, i saw some connections not working, and
my wireshark showed me that the source port setting is not working
anymore! :-(
The connections are sourcing from port 49152 instead of the configured
port 3141.
Is this a bug, or did some interfacing change in LwIP 1.4.0? How can i
set the source port of the connection?
Thanks,
Marco
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users