Ethernet Shield with keypad not working

I’m using Arduino UNO and Ethernet shield with 4x4 Keypad
i try to send keypress event key to Ethernet host, but in keypadEvent Ethernet client not working
any one please help me
my code is

#include <Keypad.h>
#include <SPI.h>
#include <Ethernet.h>

byte mac = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; //assign arduino mac address
byte ip = {192, 168, 1, 101 }; // ip in lan assigned to arduino
byte gateway = {192, 168, 1, 1 }; // internet access via router
byte subnet = {255, 255, 255, 0 }; //subnet mask
EthernetClient client;
byte serverName = {192, 168, 1, 102};

///////////////////////////////////////////////////////////////////////////////////
const byte ROWS = 4; //four rows
const byte COLS = 4; //four columns
// Define the Keymap
char hexaKeys[ROWS][COLS] = {
{‘1’,‘2’,‘3’,‘A’},
{‘4’,‘5’,‘6’,‘B’},
{‘7’,‘8’,‘9’,‘C’},
{’*’,‘0’,’#’,‘D’}
};
byte rowPins[ROWS] = {9, 8, 7, 6}; //connect to the Rows of the keypad pin 8, 7, 6, 5 respectively
byte colPins[COLS] = {5, 1, 3, 2}; //connect to the Columns of the keypad pin 4, 3, 2, 1 respectively

// Create the KeyPad
Keypad keypad = Keypad( makeKeymap(hexaKeys), rowPins, colPins, ROWS, COLS );

void keypadEvent(KeypadEvent eKey)
{
// When the KeyPad will be pressed, the results will appear on the serial monitor.
switch (keypad.getState())
{
case PRESSED:
Serial.print("Enter: ");
sendGET(eKey);
Serial.println(eKey);
delay(10);
break;
}
}

void setup()
{
Serial.begin(9600);
Ethernet.begin(mac,ip,gateway,gateway,subnet);
keypad.addEventListener(keypadEvent);
}

void loop()
{
keypad.getKey();
delay(200);
}
void sendGET(char KeyPressKey) //client function
{
if (client.connect(serverName, 84)) {
Serial.println(KeyPressKey);
client.println(KeyPressKey);
client.println();
}
client.stop();
}

You've got gateway twice in Ethernet.begin

Have you tried a simple ethernet demo to make sure you can connect to your server. What code are you running on the server side?

Dear emsee
Thanks for your replay

i have used SocketTest v 3.0 on server side and when i put ethernetClint code on void loop ethernetclint working fine but when put the code on Keypad event Clint working stop and if i put both on loop both working stop.

void loop()
{
keypad.getKey();
sendGET("Test Msg");
delay(200);
}

Please check