Send Recieve data to insert into tables using Socket

  • Thread starter Ahmad Jalil Qarshi
  • Start date
A

Ahmad Jalil Qarshi

Hi,

I have to develop a Client Server application. What I want is that the
server will listen on a specific port and client will connect to the server
and then send a request to retrieve/insert some data from/into the database.
Database is placed on server side.

What is the best way to send and retrive a large amount of data from a
database over the sockets?


Thanks in anticipation.

Regards,

Ahmad Jalil Qarshi
 
K

Kay-Christian Wessel

I would suggest to serialize the data to CSV-format, compact it with the new
compression class and encrypt the data with the encryption class. Then send
it as a byte-array over the socket.

Best regards
Kay-Christian Wessel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top