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

Communicate message between Clients and Server using DotNet

26
Hi all,
Happy to see you all again, I am going to develop one client server
application using dotnet(vb.net or c#.net).The task is to develop two applications seperately. one application continuosly run on server that is watching clients application. than another application that is client application run on many systems. if any one open the client application in the client system the client connects to server and client gives some information to server, that is i am going to do task(i have to open notepad.exe), after that the server gives information to all connected clients that is new client is joined in its network then forward information to all clients it will do some work.
Please give valuable information for above task. i have no idea about this. which one is best socket or tcp,

Thanks in Advance,
Sekar.M
May 7 '07 #1
5 2185
Use Sockets is powerful but it will consume more coding at the begining i think, and sure try to do it asynchronous socket programming, but you should have a knowleadge about threads, you will not involved into thread or even thread managment but you have to understand it in order to know what to do if you face any problem. best regards :-)
May 8 '07 #2
sekarm
26
Hi,
Thanks for your reply.can u show some code or link for socket programming.

Cheers,
....Sekar
May 8 '07 #3
I think you can use remoting if you won't have many clients.
May 8 '07 #4
http://www.codeguru.com/csharp/csharp/cs_network/sockets/article.php/c8781/ this link have code samples and illustrations about Asynchronous Socket Programming, it might be helpful does this help?
May 8 '07 #5
Frinavale
9,735 Expert Mod 8TB
Hi all,
Happy to see you all again, I am going to develop one client server
application using dotnet(vb.net or c#.net).The task is to develop two applications seperately. one application continuosly run on server that is watching clients application. than another application that is client application run on many systems. if any one open the client application in the client system the client connects to server and client gives some information to server, that is i am going to do task(i have to open notepad.exe), after that the server gives information to all connected clients that is new client is joined in its network then forward information to all clients it will do some work.
Please give valuable information for above task. i have no idea about this. which one is best socket or tcp,

Thanks in Advance,
Sekar.M
Hi Sekar,

I would recommend you do some research on Web Services.

A Web Service is a collection of classes and functions that can be called by a client application to do some things.

For instance when your application is loaded it could call a method hosted in a Web Service to submit some data to your server.

They are very powerful and .NET simplifies using them.
I strongly recommend googling .NET Web Services to find out more about them because I think they will help you in developing this system.

15 Seconds has provided great coverage of the topic.
CodeGuru also provides good coverage with examples on how to create and consume Web Services (scroll down past the advertisements)

Hope this helps.
Cheers!

-Frinny
May 9 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Neil | last post by:
I am aiming to creat an ASP.NET webpage that will communicate with a database on the users computer. the user will go to my site, select his db from his computer and my webapge will run an algorithm...
11
by: kd | last post by:
Hi All, Can anybody suggest as to what is the best way communicate between 2 applications residing on the same machine? Thanks. kd
2
by: neat2006 | last post by:
This is somewhat of a strange issue. Allow me to detail it as much as I can. We use the Blackboard Transaction System (BTS) for all students dinning services. The "ENVISION" server is Running...
0
by: neat2006 | last post by:
This is somewhat of a strange issue. Allow me to detail it as much as I can. We use the Blackboard Transaction System (BTS) for all students dinning services. The "ENVISION" server is Running...
0
by: neat2006 | last post by:
This is somewhat of a strange issue. Allow me to detail it as much as I can. We use the Blackboard Transaction System (BTS) for all students dinning services. The "ENVISION" server is Running...
6
by: Mike9900 | last post by:
How can I connect my .NET app which use remoting to communicate over internet, 2 instance of the same app? My app is already done using .NET Remoting. I am wondering if to change them to WCF or...
6
by: Anil Gupte | last post by:
Hi All: I am looking for general directions on "the right way" to do something, which is very critical to my application. I want to communicate with a SQL server database on a Windows Server...
12
by: MrQuan | last post by:
G'day all, I have a requirement to communicate between two or more PCs over the Internet, however I have no idea how to go about this. I'm not talking about a chat programme as such, I want to...
0
by: Ajith | last post by:
Hi All, I am implementing a TCP/IP Socket programming using POSIX Standard. I have my server up and running. one of the client which needs to communicate with server - has been implemented using...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.