Jump to content
Sign in to follow this  
Wb-FreeKill

Im running into a barrier

Recommended Posts

Wb-FreeKill

I really can't figure this out, hope some of you brain guys know it... :)

The senario is, that Client sends ALOT of data, so it cant all be sent at once.. therefore the Do...Until $RetRecieve is = 0, then create the treeview items..

CLIENT

DLLCall(@WindowsDir & "\au3xtra.dll", "int", "TCPSend", "int", $socket1, "str","1," & $a[0] &","& $SaveFiles)

SERVER

While 1

 $RetRecieve = DLLCall(@WindowsDir & "\au3xtra.dll","int","TCPRecv", "int",$ConnectedSocket1, "str", "", "int",8192)
$GetSplit = Stringsplit($RetRecieve[2],",")

;Log everything to editlist             
Do ;Only if something comes in from $RetRecieve
GUICtrlSetData($FilesLogEdit, GUICtrlRead($FilesLogEdit) & $GetSplit[3] & @CRLF)
Until ;$RetReceive = 0

$FileSplit = StringSplit(GUICTRLRead($FilesLogEdit),"{")
For $i = 1 to $Filesplit[0]
GUICtrlCreateListViewItem($FileSplit[$i], $FileHD[4])
Next
Exitloop
                    
EndIf

Share this post


Link to post
Share on other sites
Neoborn

I would hazard that you should ask a '?' if you would like an answer :)


~Projects~1. iPod Ejector 1.0 - Tool Used To Eject iPod in Windows - Uses DevEject.exe :P2. SmartFTP Close Popup Tool - Closes reminders from freeware SmartFTP.~Helpful Links For New Users~1. LXP's Learning AutoIT PDF Guide - <<< Go here for a PDF Guide on learning AutoIT from the ground up!<<<2. AutoIt 1-2-3 <<<Want to learn more about AutoIT quickly? Go Here<<<3. How To Install The Beta And Production Versions Of AutoIT / SciteAutoIT

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×