473,387 Members | 3,810 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Comunicating from server towards windows.forms clients

aaa
Hi

I need to perform simple comunication towards my Windows.Forms clients.
Service running on server needs to contact/notify client apps running in
the network if certain event accurs. Upon this notification client would
contact the server (this is not within the scope of this question).

What is the easiest way to accomplish this? I persume not to include
TCP/UDP server on my clients :) Is it using .NET remoting?

Nov 16 '05 #1
2 2074
Hi,

I would consider TCP/UDP as the first alternative. and always from client
to server, meaning that the client polls the server , this unless that you
need real time notification of the event from the server.
This simplify the server implementation A LOT cause otherwise it has to
keep references to the clients which is an overhead that you should try to
avoid when possible.

you could also use remoting for this.

why are you not wanting to use TCP ?

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

<aa*@bbb.hr> wrote in message news:cf**********@garrison.globalnet.hr...
Hi

I need to perform simple comunication towards my Windows.Forms clients.
Service running on server needs to contact/notify client apps running in
the network if certain event accurs. Upon this notification client would
contact the server (this is not within the scope of this question).

What is the easiest way to accomplish this? I persume not to include
TCP/UDP server on my clients :) Is it using .NET remoting?

Nov 16 '05 #2
aaa
Ignacio Machin ( .NET/ C# MVP ) wrote:
I would consider TCP/UDP as the first alternative. and always from client
to server, meaning that the client polls the server , this unless that you
need real time notification of the event from the server.
Unfortunately, classic client to server communication (which would be
the easiest solution) can not be achieved due to system design (and this
is not in my power to change).
This simplify the server implementation A LOT cause otherwise it has to
keep references to the clients which is an overhead that you should try to
avoid when possible.
Yes, I am aware of this ovarhead :)
you could also use remoting for this.

why are you not wanting to use TCP ?


It is not that I do not want to use TCP communication (matter of fact it
was the first solution that came to my mind), I just want to do it the
easiest way :)

The problem is : client application needs to be informed when certain
event happens on the server. Communication must be initialized from the
server, and in response client application would contact the server for
additional info and then refresh user's screen. Client is standard
WinForms application running on users desktop PC (list of all client IP
addresses is available).
Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Chris Mayers | last post by:
I have a Windows Forms DataGrid that has a DataView as a datasource. My problem is that I want the datagrid to exhibit some special sorting properties when the header rows are clicked on. From...
3
by: Chris Dunaway | last post by:
A quick scan of the group did not immediately reveal an answer to my questions so here goes. First let me describe my app and then I'll ask the questions. I am writing a Windows Forms App (not...
1
by: Jason Walraven | last post by:
Has anyone been able to get a WinForm to work embedded in a Web form yet? I've tried a sample, and even created my own test, from one of the rare articles from MSDN, but they do not work, not even...
2
by: phil1bruening | last post by:
Hi! In my ASP.NET Application I want to upload multiple images. For that I want to use the OpenFileDialog from System.Windows.Forms. Is that possible? How can I integrate a Window Form (that...
2
by: Ludovic DE FREITAS | last post by:
Hello, I am making a prototype system with a Pocket PC that must connect to a Server Application. Unfortunately, the server cannot be a Web Server, but a simple Windows Forms Application. ...
0
by: Macca | last post by:
Hi, I would like to write a "server" application that can run without a required GUI and just processes data. I would like to allow multiple "client" GUI winform apps to be able to "attach" to...
22
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one...
4
by: Jeremy S. | last post by:
We're in the process of writing a new Windows Forms app and the desktop support folks want for it to be run from a network share. I know it's possible (i.e., just have the framework on the clients...
4
by: Pini | last post by:
Hi all, I have a massive windows application that refernces a lot of assemblies and doing a lot of DAL anf IO operations. I want to expose this application to the interner so that a user can...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.