C# send message to multiple clients
€30-250 EUR
Paid on delivery
Hi,
What I need (as an example) is the following:
I need to send messages (actually classes) from a server to multiple clients. But I only want the clients to get specific messages.
I tried it with Named Pipes (using serialization for the object. But I leave that part out for now).
Since I know some details about where I want to listen to I can easily create a name that defines the server where I want to listen to.
In my testing environment I open 10 winforms with only a textbox to display the message. On opening I let the 10 forms listen to 10 different namedPipes.
In another method I create 10 servers representing the same 10 names and send some message. Al 10 winforms get the correct message. So far so good.
But it seems named pipes can only be used by one listener at the same time. When I opened 10 of the same windows, the messages only arrived in the first instance.
If I know at front what will be available, I could easily create some event and let all winforms listen to the correct event, but I don’t know where to listen to at front and besides that, there will be hundreds of different kind of messages. So creating them on the fly would be stupid. That’s why namedPipes looked so nice. All the hundreds of messages that need to be send, have a specific (let’s say) key and the client know to what key it needs to listen.
Could you make something that actually works like described?
Basic needs:
Must be scalable (up to 1000 different keys)
Same (even more) listeners to the correct keys
A form / class must be able to listen to multiple keys as well.
It needs to be fast and async (no waiting for confirmation or whatever. Just push it)
Build using normal C# .net 4.5 (desktop/winform) objects / classes. (Probably something like WCF?)
The messages now need to be send to winforms on the same computer, but later on need to be send to winforms on other computers as well.
If there is not yet a client ready to listen to a specific key, don’t send the message (or at least, nothing should happen)
If the server is active and already has a listener, it must be possible to add or remove listeners.
Just show me a simple winform with that opens 10 different forms and then next to them 10 that listen to the same 10 as the others. (See picture in attachment) and a nice button to send 10 messages in an instance to all of the clients.
Project ID: #5556526
About the project
18 freelancers are bidding on average €272 for this job
hi, I can help you.. I create windows application as per your requirement.. I can easily create this windows forms application. Thanks
Hello, I have done slightly similar project sending data to clients. I use socket multi thread listener to send data from listener to clients. Regards, mahendra
Hi, An ASP.NET,c#,vb ,SqlServer,JQuery,Javascript expert here. Please feel free to discuss the project with me. I would like to have a detailed document of your requirements so that we can discuss the each and ever More
Hi, I hope my message finds you well, I am sherif, software developer with experience in working on .NET/C#, i have solid working experience in this domain and i am sure i will be able to help you get his done as More
Dear sir I am a professional c# coder and i can start this job for you and we can discuss it in details Kindly contact me and we can get started Thanks
Hi! I have 8 years experience in programming and know C# well. I can make this project for you. Everything will be done according to your requirements. Denis.
This can be implemented using WCF over TCP if you are going to use it over intranet only. I am free on this weekend and will try to complete it within two days. Please reply if you find me suitable.