I have the DB2 9.1 installed on my laptop and when i run my c++ application, to insert bulk data, after some time the DB2 stops with the following error.

SQL30081N A communication error has been detected. Communication protocol being used: "TCP/IP". Communication API being used: "SOCKETS". Location where the error was detected: "". Communication function detecting the error: "recv". Protocol specific error code(s): "10054", "*", "0". SQLSTATE=08001
still error

The DB & the application is running on the same machine. The Catalog name is same as DB name.