I have some sockets of the wiznet 5500 configured as TCP sockets and one as MACRAW. When all of my TCP sockets are in use, and a new device tries to send a TCP packet to my device the TCP message comes in on the MACRAW socket. When this happens I want to close the new TCP session since I don’t have space for it, so I want to send it a TCP FIN packet.
I can send a message via the MACRAW socket if it has an etherType of 0x7777, but when I use EtherType 0x0800 (IP) and send an IP packet containing a TCP packet it does not seem to go out the wire.
Am I using the chip wrong? Can I not send a TCP messages out a MACRAW socket?
I have been able to send and receive UDP on a UDP socket, send and receive TCP on TCP socket, and send and recieve ICMP on an IPRAW/ICMP socket. I can receive all kinds of traffic on the MACRAW socket but have been unable to send TCP or ICMP. I am thinking maybe this is a chip restriction?
Thanks in advance for any help.