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!

Recommended Answers

All 2 Replies

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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.