W5500 and Unicast UDP
joeytx
Posts: 2
in Propeller 1
I have read everywhere I can find, and I am still at a lost. I am trying to figure out how to set _Sn_MR / _MULTIM so that I can receive UDP packets in unicast. My project, using the P8X32A-D40, works fine with multicast, but I would rather unicast. Any help would be greatly appreciated. Thanks.
The code to open the socket: ( wiz. SocketOpen(skt,$82,0,5568, @destIP[0]))
The code to open the socket: ( wiz. SocketOpen(skt,$82,0,5568, @destIP[0]))
Comments
You would open a connection to yourself on the port you want to use. Then build a packet and send it to the destination address and port. You can't just open a connection to the other IP.
It would be the same as multicast except you don't use the multicast address.
Mike
txUDP(skt, packet)
Mike
Joey