Problems in .net socket
-
hi all, is there a limitation of client-server .net socket application that when we broadcast message from server to all connected clients, not all the clients receive it. The condition is we are receiving real time data . is it a limitation or i'm doing something wrong... any idea? thanks
Determination and faith are the only keys !
-
hi all, is there a limitation of client-server .net socket application that when we broadcast message from server to all connected clients, not all the clients receive it. The condition is we are receiving real time data . is it a limitation or i'm doing something wrong... any idea? thanks
Determination and faith are the only keys !
Do all of the clients have the same firewall and configuration running?
"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer I get all the news I need from the weather report - Paul Simon (from "The Only Living Boy in New York")
-
Do all of the clients have the same firewall and configuration running?
"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer I get all the news I need from the weather report - Paul Simon (from "The Only Living Boy in New York")
yup. actually all the client's instances are on same machine while server is on other machine
Determination and faith are the only keys !
-
hi all, is there a limitation of client-server .net socket application that when we broadcast message from server to all connected clients, not all the clients receive it. The condition is we are receiving real time data . is it a limitation or i'm doing something wrong... any idea? thanks
Determination and faith are the only keys !
Most routers kill network broadcasts. For guaranteed receipt use TCP/IP and send to each client individually.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway -
hi all, is there a limitation of client-server .net socket application that when we broadcast message from server to all connected clients, not all the clients receive it. The condition is we are receiving real time data . is it a limitation or i'm doing something wrong... any idea? thanks
Determination and faith are the only keys !
Broadcasts are a "best efforts" communication method, you should plan on messages NOT making it to a client if your using UDP broadcast messages.
-
Most routers kill network broadcasts. For guaranteed receipt use TCP/IP and send to each client individually.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingwayi m using tcp connection thats why confused of not get messages. it might be a router problem, but what if i run server and 4 clients on the same machine. i 've tested that way too but unsuccessful in receiving 100% messages.
Determination and faith are the only keys !
-
Broadcasts are a "best efforts" communication method, you should plan on messages NOT making it to a client if your using UDP broadcast messages.
the problem is m working on critical real time application in which the scnerio is like i must have to send message to all connected clients. if im using tcp then why there is a message loss, thats amazing to me atleast and wondering if i've done something wrong or that theory fails of reliable tcp connection :o thanks
Determination and faith are the only keys !