Good afternoon all! (It is over here anyway, but chilly though)
As per usual in a forum of this type, I find myself mindboggled by what is probably not that difficult to solve. Thus, I was hoping any of you could enlighten me.
I am in the process of writing a fairly simple app which at intervals of like 10 minutes should send me a log of it's activities. Now the creation of the logs is simple enough, and I would like to have the filetransfer operate on a different thread so it will not interrupt the main function of the program (I'll find out how to do that later, not terribly important at the moment).
However... I find myself completely at a loss of which method to use for the transferring of data. I've read about sockets, asynchronous methods, tcp server/client connections, filebuffers, headers, metadata, bytearrays... You name it! I am however just starting to get into the bit more advanced programming stuff, and do not really have a clue what it is I am looking for. I've googled for some how-to's on how to do this but they all come with completely different solutions, and none of them really seem to apply to my wishes/situation.
My requirements/situation:
The data that will be transferred is text only, no markup, just plain text and newlines. It will use special characters if possible, however, I can get around that if required though.
No security is required though preferrable.
I think that is mostly it.
Can anybody recommend a way to implement this?
Thanks a lot in advance!