OnlyCare 发表于 2015-9-25 12:50:06

运行场景sava param 参数无效。错误代码9005

代码如下
lrs_create_socket("socket4", "TCP", "RemoteHost=118.192.89.9:18701",LrsLastArg);
       


    lrs_send("socket4", "buf20", LrsLastArg);

    lrs_receive("socket4", "buf21", LrsLastArg);

    lrs_save_param( "socket4", LRS_LAST_RECEIVED, "NickName", 52, 32 );

    lrs_disable_socket("socket4", DISABLE_SEND_RECV);

    lrs_close_socket("socket4");

    lrs_create_socket("socket7", "TCP", "RemoteHost=118.192.89.9:18901",LrsLastArg);
   
   
    lrs_send("socket7", "buf28", LrsLastArg);
    //lrs_save_param( "socket7", LRS_LAST_RECEIVED, "Nick_name", 52, 32 );
    lrs_receive("socket7", "buf29", LrsLastArg);

    lrs_send("socket7", "buf30", LrsLastArg);

    lrs_receive("socket7", "buf31", LrsLastArg);

    lrs_receive("socket7", "buf33", LrsLastArg);

    lrs_disable_socket("socket7", DISABLE_SEND_RECV);

    lrs_close_socket("socket7");
页: [1]
查看完整版本: 运行场景sava param 参数无效。错误代码9005