I am trying to establish a tcp server on an lpc1857 board using keil mdk 6.5.0. After the listen call, I am getting a connection request from the client, ie, the callback function is triggered by a tcpeventconnect and i am returning '1' in the code. But the connection is not established and the client returns a 'connection failed'. Can any one give a clue as to what might be happening? is there any configuration pre-requisite to establish a tcp server that i may be over-seeing?