User Profile
Collapse
-
Multithreaded TCP Socket server.
I'm working on a server program that will allow multiple clients to connect then send and receive the catch is that i don't want all the date from 1 client sent to every other client. I only want Client 1 to receive data from Client 2 or Client 3 if they send numbers that are in a certain range. my main problem right now is getting the server to accept multiple clients and send them any data back at all. i don't know if it's important but the clients... -
thank you, I've got it working, helped a lot. -
Server Console and Form ?
Hello, I'm trying to write a multithreaded TCP server program, I want it to run in a console and continual check for incoming connections.
EX.....
Code:while (true) { clientSocket = serverSocket.AcceptTcpClient(); handleClient client = new handleClient(); client.startClient(clientSocket,Convert.ToString(counter)); }
No activity results to display
Show More
Leave a comment: