client.connect() ; problem on socket

Hi, i post here because i dont found any solution for my problems.

l("ETH",0,"connecting... for send R|1|00000");
  // if you get a connection, report back via serial:
  if (client.connect(loadSRV1, loadSRV1_P)) {
    l("ETH",0,"connected");
    client.print("R|1|00000");
    l("ETH",0,"R|1|00000");
  } 
  else {
    // kf you didn't get a connection to the server:
    l("ETH",1,"connection failed");
  }
  client.stop();

my problems is on the connect() function, when serveur side accept the connexion and close this immediatly, the connect() function keep locked for always ..... :S

(its a bug in serveur side, but the client side not be depand of server side)

l() is equals to Serial.println() and write in log file...

sorry for my bad english, if you dont understand, i can rewrite my problems.

best regards.

Stéphane