??????????д?????winsocket????????????????????????????д?????????????????????
?????????д????????????????????????????????????????????
?????????????????????
????//????????????????
????rc=lrs_create_socket("socket0"??"TCP"??"LocalHost=0"??"RemoteHost=128.64.64.23:8988"??LrsLastArg);
????if(rc==0)
????lr_output_message("Socket was suclearcase/"target="_blank">ccessfully created");
????else
????lr_output_message("An error occurred while creating the socket??Error Code:%d"??rc);
??????????????????????
????lrs_send("socket0"??"buf0"??LrsLastArg);//??"socket0"????"buf0"?е?????
????lrs_receive("socket0"??"buf1"??LrsLastArg);//??"socke0"?з???????????"buf1"??
???????????????????????
????//???????
????lrs_close_socket("socket0");
????????????????????????????????????????????????????????????????????????飬??????????????????Щ??????С????????н??й?winsocketЭ??????????????LR?????????????????д??data.ws???????У?????????????????e?????д??data.ws???????????????????“00100312303456”?????????????????????д??data.ws?У???????£?
????;WSRData 2 1
????send buf0 10
????"00100312303456"//??????""
????recv buf1 128
????-1
???????н?????????????г?????????????п????????????BUFFER????????BUFFER?????
???????????????????????????????в????????y????η??????????????????????????
???????????????
????1??????????????data.ws????????????в?????????????????????????????????????????????????????<>??????HTTPЭ?????????{}??????????????LR?????Э?????????????????????????????????????????????£?
????send buf0 106
????"<string>"//string?????????????
???????????????????????
????2?????????????鷳??????????????????????????????????鷳???????????????????????????????????????鷳???5555~~??
???????????????????????????????????????????????????????????????????????????“?????????????123??+??????????456??”????????????£???????????????????????????????????<username>??<password>??д?? send buf0 106 "<username><password>" ???????????
???????????????????????Щ?????????????????????????????????????????????????У?????????????00100312303456??
???????λ0010???????淢???????????????10???????03???????????3λ????????123???????????????????????03456????????????????η??????????????????????????????????????????1234????????????????????“001104123403456”???????????????????????????????????????????????????Щ?????
??????????????action?н??????????????????
????char data[200];
????char length[20];
????len=strlen(lr_eval_string("{usermame}"));
????sprintf(length??"%d"??len);
????strcat(data??length);
????strcat(data??"{username}");
????????????lrs_save_param_ex?????????????浽data_param?????С?
????lrs_save_param_ex("socket0"??"user"??data??0??strlen(data)??NULL??"data_param");
????????data.ws????????data_param???????????????
????send buf0"<data_param>"