51Testing软件测试论坛

标题: 函數解釋 [打印本页]

作者: vansoft    时间: 2006-3-17 16:21
标题: 函數解釋
我是新手,看不懂loadrunner的幫助里的函數說明,舉個例子吧:

int lrs_create_socket ( char *s_desc, char *type, [ char* LocalHost,] [char* peer,] [char *backlog,] LrsLastArg );

s_desc  A descriptor identifying an unbound socket.  

type  One of the available Socket Types  

LocalHost  The local host and port number of the socket for binding, using the form: "LocalHost= host_name/port_number" (optional)  

peer  The name of the peer remote host and its port number, to which the socket will be connected, using the form: "RemoteHost=host_name/port_number" (optional)  

backlog  The maximum length to which the queue of pending connections may grow, using the form: "Backlog=number" (optional)  

LrsLastArg  A marker indicating the end of the parameters (used where optional parameters are available).  

請問參數char *s_desc 表示審麼意思啊是否表示 s_desc 為指向字符型的指針變數
作者: k0c0b0    时间: 2006-3-19 00:03
s_desc  是socket 连接的通道名称
作者: 测试小子    时间: 2006-3-20 11:05
A descriptor identifying an unbound socket.




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2