|
windows socket协议
Action()
{
lrs_create_socket("socket0", "TCP", "LocalHost=0", "RemoteHost=ATENA-SOFTDEV:1433", LrsLastArg);
lrs_send("socket0", "buf0", LrsLastArg);
lrs_receive("socket0", "buf1", LrsLastArg);
lrs_send("socket0", "buf2", LrsLastArg);
lrs_receive("socket0", "buf3", LrsLastArg);
lrs_send("socket0", "buf4", LrsLastArg);
lrs_receive("socket0", "buf5", LrsLastArg);
lrs_send("socket0", "buf6", LrsLastArg);
lrs_receive("socket0", "buf7", LrsLastArg);
lrs_send("socket0", "buf8", LrsLastArg);
lrs_receive("socket0", "buf9", LrsLastArg);
return 0;
}
当执行到buf7的时候会出现一个错误Software caused connection abort. Error code : 10053求教大家。急啊! |
|