473,388 Members | 1,408 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,388 software developers and data experts.

RPC and Client Server Application

I'd like to ask some suggestion regarding a software that I'm
developping.
For develop the project I've to use VB.NET and Framework 3.5

This is a Client Server application.

I've some computer ( 1 server and 2 or 3 clients ) connected each
other in LAN.

This project is located in industial automation field.

On Server I've the automation routine, on client I've user interface.
On clients I've connected some serial devices such as card reader and
PLC.

This is a tipical situation:

User put the card into card reader.
Client where card reader is connected must inform the server that a
card has been inserted.
Server ask a client the CARD_ID, client have to read CARD_ID from card
reader and pass it to the server.
After that, the automation can continue exchanging other information
between client and server regarding user intercation. Every action
need to be notified from client to the server becouse if for exaple
PLC is in some particular state I've to disable the card reader.
Furthermore server can query the client for read the state of PLC or
for some other iteration

For develop this project I've two ideas:

1.
Deploy two service:

- server who listen on TCP port for incoming connection
- client connect to server

When communication is extablished data is exchange between two
machines using a protocol designed for this scope.
In case that a card has been inserted client send a message to server,
informing of this event.
So automation process can continue, after that other interaction will
take palce using the same exchange information.

2.
I've read some paper about RPC
I've think to deploy some class and compile it into DLL so for example
I've a DLL that manage card reader.
After that I'd like to know if it's possile using RPC to call from
server the DLL who read card numer on the client.
So I'd like to deploy a polling so every x second server ask to client
if a key has been inserted or other action have take place for example
PLC status is varied.

At this point I'm in doubt how to deploy this project if:

- implement network service design protocol communication
or
- use RPC

One important goal of this project is the stability and the absence of
error so if any error occur during network communication I should be
able to intercet.

I'd like to know your opinion about and if there is some book or
technical article where I can found more information about.

I'd like to thank you very much!!

Regards
Maurizio
Jun 27 '08 #1
0 1204

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

Similar topics

5
by: Matt | last post by:
I think this is the basic concept in ASP server-side development. My boss told me web application is NOT client-server application. I argued with him because browser is the client, and the server...
2
by: Microsoft | last post by:
I'm about to start converting my application from a old-style monolith exe (with flat files and limited database support for sharing some of the data) to a layered .NET SQL server version. I have...
18
by: cjl | last post by:
Hey all: I know that it is silly in the age of Google to 'lose' something on the internet, but I recently checked out a project that had implemented a database with a subset of SQL in pure...
4
by: Prince Kumar | last post by:
I joined a company recently and they have a java program which hangs (does nothing) after a while. This is no way consistent. It could succeed quite a few times and can fail a few other times....
11
by: Timothy Shih | last post by:
Hi, I am having a freezing issue with my application. My application serves several remotable objects, all of which must be initialized before their use. Furthermore, some of them depend on each...
6
by: Ken Allen | last post by:
I am relatively new to .Net and C#, but I hav ebeen programing in other languages and done some COM work for a number of years. I am attempting to understand how to map an older program...
12
by: ShepardBerry | last post by:
This may be a dumb question, but I'm not finding anything specifically what I'm looking for. Still kind of new to .NET as well. What I'm trying to do that I know I could do in VB6.0/ASP is to...
10
by: Ben | last post by:
Hi, I made an application in classic asp (reservation of books and video stuffs for students) and want to migrate to asp.net. The user has to chose a date, then pushung on a submit button. The...
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...
2
by: Wimpie van Lingen | last post by:
Hey I have some more questions with regards to Remoting in .NET 2. I'm using TCP with the Binary formatter. My solution consists of 4 projects: - Class Library containing the server classes...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.