Following is the Objective of my program
1.Creating a TCP Server
2.Multiple clients can attach to it
3.Clients send data to the TCP Server and the server in-turn send the same data to all other clients

I have the following problem

When run on the same machine with 10 to 12 clients . Clients receive data from other clients with one data from a client at a time.

But when clients are different machines (10-12), client receives two messages for a single receive call,spuriously.(this doesnt happen with the same machine).
Please help me out in this issue. i need only one message at a time.
Suggest some ways....Thanks in Advance

Someone Please help me out...

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.