ENC28J60 LED's

Hello everyone, I bought an ethernet shield ENC28J60, and had many problems until you can ping the shield using a library created by Andy, so I'm having trouble creating a code that turns on an LED when I send a request and turn off the LED when I send another request.
Could someone help me make this code? I'm using the library of Andy.
Thanks to all