IR send and recieve

Hi,
i took an IR transmitter led from an old remote and tried using it with and IR receiver.
because i don’t know if it is working at all i used a regular led and it flashes but the ir receiver doesn’t get any reading from a working remote in the serial monitor.
i am missing something here. when disabling the receive code lines it works and i get readings from the remote control.

here’s the code:
//2017.06.22

#include <IRremote.h>

int receiverpin = 10;
IRsend irsend;
IRrecv irrecv(receiverpin);
decode_results results;

void setup() {

pinMode(receiverpin, INPUT);
Serial.begin(9600);
irrecv.enableIRIn();
}

void loop() {
IRsend irsend;
IRrecv irrecv(receiverpin);
decode_results results;
// int khz = 38; // 38kHz carrier frequency for the NEC protocol
// unsigned int irSignal[57] = {550,1600, 450,500, 500,600, 450,550, 450,1600, 450,600, 450,500, 500,550, 500,500, 500,600, 450,550, 450,600, 450,550, 450,550, 500,550, 450,600, 450,550, 500,1600, 450,500, 500,1600, 500,550, 450,1550, 500,550, 500,550, 500,1550, 450,600, 450,600, 450,1550, 500};

// irsend.sendRaw(irSignal, sizeof(irSignal) / sizeof(irSignal[0]), khz); //Note the approach used to automatically calculate the size of the array.
//delay(2000);
if (irrecv.decode(&results))
{
Serial.println(results.value, HEX);
irrecv.resume();

delay(150);
}

}

IRsend irsend;
IRrecv irrecv(receiverpin);
decode_results results;


void setup() {

 pinMode(receiverpin, INPUT);
 Serial.begin(9600);
 irrecv.enableIRIn();
}

void loop() {
IRsend irsend;
IRrecv irrecv(receiverpin);

Why are you create new IRsend and IRrecv objects in loop()?

At first
Wich receiver do you use and how is it wired up?
Wich remote do you use (its important because of the carrier frequency)?

and second
Did you try the exaple sketch provided with the library?
If i were you i would try the IRrecvDumpV2 sketch.