User Profile

Collapse

Profile Sidebar

Collapse
Dusted
Dusted
Last Activity: Dec 5 '11, 11:07 PM
Joined: Nov 26 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Dusted
    started a topic Multithreaded TCP Socket server.

    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...
    See more | Go to post

  • Dusted
    replied to Server Console and Form ?
    thank you, I've got it working, helped a lot.
    See more | Go to post

    Leave a comment:


  • Dusted
    started a topic Server Console and Form ?

    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));
                }
    ...
    See more | Go to post
No activity results to display
Show More
Working...