Hi all,

I'm going to attempt to create middleware in C# and i need some advice. What I'm looking to do is have an open socket, then when our VB app connects to it, it makes another socket and keep the newly connected one open. It then has to get the database name from the client that just connected to it. Then it waits for the client to send it a SQL string. For example if the SQL string is Select, it selects, and returns a data table object. If it is insert or update, it inserts or updates and returns the number of rows effected. I'm looking for some code examples, or maybe even some tutorials. If anybody can point me in the right direction I'd really appreciate it!

8 Years
Discussion Span
Last Post by __avd

So what is the question? How you create a C# application (if so then you're in the wrong forum) or how to open a socket in vb.net?

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.