troubleshooting Question

CLIENT/SERVER app, send string data to server

Avatar of Programmer_to_be
Programmer_to_be asked on
C#
8 Comments2 Solutions604 ViewsLast Modified:
Dear Experts;

i need to create a client/server application. the server must always be listening, the client(s) will send string data to it, the server will then store the data in a database.

with my experience with client/server applications, theyve always been unreliable for me. i mean that i could never get client/server communication to actually work, maybe because im behind a router. can someone show me how to make a reliable very simple client server app.

so the server must always be waiting, the client connects and sends a string to the server, once the server recieves this, it will store it in a database.

i actually need to send an array of strings (like first name, surname) etc, would i need to send the strings individually? or can i just send the whole array, then iterate through that array on the server side?

Thanks

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 8 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros