Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Mon Dec 10, 2018 7:37 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Enumerating computer data transfer best method advice
PostPosted: Wed Dec 05, 2012 3:55 pm 
Offline
User avatar

Joined: Sun Oct 28, 2012 4:54 am
Posts: 264
Location: Herts, UK
Hi All

I currently have a client server application using easyTCPsocket client side and SocketServer server side..

Client side before connecting to the server I am using a combo of WMI and registry query sub routines to perform a host
audit.

I was just wondering what the best method would be for sending the data via TCPsocket.

Dump the results to CSV files and send or using array & string methods..?

Thanks for your advice

:?:

_________________
Real Studio 2012 R2
SysInfo
BackTrack Linux/BackBox Linux/Debian Lenny/Windows 7/Windows 8/OpenWRT/OpenBSD
& Yes it's me in the Avatar


Top
 Profile  
Reply with quote  
 Post subject: Re: Enumerating computer data transfer best method advice
PostPosted: Wed Dec 05, 2012 4:37 pm 
Offline
User avatar

Joined: Mon Feb 05, 2007 5:21 pm
Posts: 600
Location: New York, NY
Without knowing exactly what your data looks like, maybe convert it to an XML file and send that as string?

_________________
Kem Tekinay
MacTechnologies Consulting
http://www.mactechnologies.com/

Need to develop, test, and refine regular expressions? Try RegExRX.


Top
 Profile  
Reply with quote  
 Post subject: Re: Enumerating computer data transfer best method advice
PostPosted: Mon Dec 10, 2012 3:28 am 
Offline
User avatar

Joined: Fri Oct 28, 2005 7:05 am
Posts: 565
Location: Emsworth, UK
A file and a network are both streams. Streaming to a file is redundant and not necessary, unless you have other reasons in the usage scenario - E.g. A slow or unreliable network to contend with.

_________________
Yes it's me in the avatar


Top
 Profile  
Reply with quote  
 Post subject: Re: Enumerating computer data transfer best method advice
PostPosted: Mon Dec 10, 2012 10:24 am 
Offline
User avatar

Joined: Mon Feb 05, 2007 5:21 pm
Posts: 600
Location: New York, NY
Yes, reading it again, "file" is not what I meant to say. It should have read, "convert it to XML and send that as a string."

_________________
Kem Tekinay
MacTechnologies Consulting
http://www.mactechnologies.com/

Need to develop, test, and refine regular expressions? Try RegExRX.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group