|
c/s结构的用windows sockets协议录制。数据库是sybase
回放后出现如下错误:
vuser_init.c(14): Error : Timeout expired while trying to accept connection. Error code : 9017.
原程序为:
user_init()
{
lrs_create_socket("socket0", "TCP", "LocalHost=3050", "Backlog=1", LrsLastArg);
lrs_accept_connection("socket0", "socket1");
lrs_receive("socket1", "buf0", LrsLastArg);
lrs_send("socket1", "buf1", LrsLastArg);
lrs_receive("socket1", "buf2", LrsLastArg);
lrs_send("socket1", "buf3", LrsLastArg);
lrs_receive("socket1", "buf4", LrsLastArg);
lrs_send("socket1", "buf5", LrsLastArg);
lrs_receive("socket1", "buf6", LrsLastArg);
lrs_send("socket1", "buf7", LrsLastArg);
........ |
|