W5100 IPRAW and TCPIP modes simultaneously?

Hi! My question is rather simple - Is it possible to configure and use simultaneously two different sockets (Socekt1 and Socket2) when one of them (Socket1) is configured as IPRAW, and the second one (Socket2) as TCPIP? What I want to do is to send ping from the W5100 to other network devices (thus I need IPRAW) and check if they are online. What I also need is to be able to configure IPs which I will ping from the browser level.