|
3#
楼主 |
发表于 2007-4-27 17:25:13
|
只看该作者
include "lrs.h"
没有写错,运行到红字部分有问题了
出现那个错误提示
vuser_init()
{
lrs_startup(257);
lrs_create_socket("socket0", "TCP", "RemoteHost=218.249.15.77:XXXX", LrsLastArg);
lrs_close_socket("socket0");
lrs_create_socket("socket1", "TCP", "RemoteHost=218.249.15.77:13", LrsLastArg);
lrs_receive("socket1", "buf0", LrsLastArg);
lrs_close_socket("socket1");
lrs_create_socket("socket2", "TCP", "RemoteHost=218.249.15.77:2500", LrsLastArg);
lr_think_time(8);
lrs_create_socket("socket3", "TCP", "RemoteHost=218.249.15.77:2500", LrsLastArg);
lrs_send("socket3", "buf1", "Flags=MSG_DONTROUTE", LrsLastArg);
lrs_receive("socket3", "buf2", LrsLastArg);
lrs_close_socket("socket3");
[ 本帖最后由 wonew1228 于 2007-4-27 19:04 编辑 ] |
|