Hi All,
I am fairly new to VB.NET however, not new to programming in general. I have used VB.NET to create many simple programs which interact with SQL so I know the basics. There are however two things that are baffling me and Google isnt helping a great deal.
- Client\ server communication using sockets. I have tried a few examples but I cant seem to figure them out properly. I want a simple application which receives a few lines from a central point and actions them accordingly. The overall idea is a notepad in the system tray of many computers which holds snippets of SQL code. It could perhaps refresh every x hours so that the latest code snippets are always available and have user snippets related to each client machine which the user can save (but lets just get the basics first!).
- This brings me on to my next point. Multi threading. Now I have the basics here covered and have made a few applications which use a separate thread to perform data read/writes. I cannot however, use them in the above scenario. I think the problem relates to me not understanding the above, and once I do i am sure it will fall into place.
What I am asking is quite a lot, and feel free to send PMs of abuse. Or ask me for any Oracle PL/SQL help in return (I know its a neche).
Could someone write a simple piece of code which uses sockets, with a new thread for each connection with lots and lots of rem[']s? Or point me to any tutorials which work in VB.NET. As I said, I have Googled and not found that many simple or detailed enough or which actually work when finished.
Your time is greatly appreciated.
J