473,625 Members | 3,329 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

get a Answer from Server

MAT
Hi...
I am new in .NET and C#. I have such a problem:
I connect to the SQL Server over Web Services and send a request. Another
user must see this command (my request) and do somtehing and send me an
asnwer back. The problem is: This process can last a few minutes (The other
user can send me the asnwer anytime he want), and I must be able to do
something else in this time till I get the answer. But I must see the Antwort
as soon as the other user sends it.
I hope it was clear enough. Please help me.
Regards MAT
Apr 18 '06 #1
2 1090
Hi,

Are you trying to implement an IM system ?

If so you have to rethink your design, it won't work this way.
Give a little more details about your application to better suggest a
solution.

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

"MAT" <MA*@discussion s.microsoft.com > wrote in message
news:77******** *************** ***********@mic rosoft.com...
Hi...
I am new in .NET and C#. I have such a problem:
I connect to the SQL Server over Web Services and send a request. Another
user must see this command (my request) and do somtehing and send me an
asnwer back. The problem is: This process can last a few minutes (The
other
user can send me the asnwer anytime he want), and I must be able to do
something else in this time till I get the answer. But I must see the
Antwort
as soon as the other user sends it.
I hope it was clear enough. Please help me.
Regards MAT

Apr 18 '06 #2
MAT
I have 2 Clients:
1st pocket pc user (can be more then 200 people)
2th pc user

over Lan/Wlan the first Client sends a command to the client 2.
(In fact the command is written to a table in SQL server and the 2th client
reads every 2 seconds this table to see if a new command is sent)
Then the 2 th Clint makes an operation according to the command. That can
last 4-5 minutes. In this time the first client must not wait the asnwer of
the second one. He can do something else.
So when the 2th client finishes the operation he must send an answer to the
1st client.
I could do it so:
the 2 th cliet writes the anwer to a table in server and the 1st client
reads every second this table to find the anwer. But this not efficient
because the number of pocket pc users can be more then 200 and if each of
them try to access every second to the database it could be problematic.
So how should the 2th client send the answer to the fist one? Maybe with a
socket communikation? I dont know it really. What I need is: An Exception
must occur when the 2th sends the answer to 1st Cliet.

"Ignacio Machin ( .NET/ C# MVP )" wrote:
Hi,

Are you trying to implement an IM system ?

If so you have to rethink your design, it won't work this way.
Give a little more details about your application to better suggest a
solution.

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

"MAT" <MA*@discussion s.microsoft.com > wrote in message
news:77******** *************** ***********@mic rosoft.com...
Hi...
I am new in .NET and C#. I have such a problem:
I connect to the SQL Server over Web Services and send a request. Another
user must see this command (my request) and do somtehing and send me an
asnwer back. The problem is: This process can last a few minutes (The
other
user can send me the asnwer anytime he want), and I must be able to do
something else in this time till I get the answer. But I must see the
Antwort
as soon as the other user sends it.
I hope it was clear enough. Please help me.
Regards MAT


Apr 18 '06 #3

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

Similar topics

0
4403
by: Arne Kösling | last post by:
Hi ! I am new to Web Services. Therefore I ve set up a PHP Installation on Windows (PHP 4.3.2 and Apache 1.3.29). I have tested PHP alone and then installed PEAR. Now I am stuck there (Before that, I had many problems with the PHP-dlls) I've set up several SOAP Testscripts that I found on WebSites and in PHP-Books to get a PHP Client and a PHP Server communicate over Web Services (using PEAR::SOAP).
5
1743
by: Joe | last post by:
Please repost answer message did not make it last time Hello, Joe here, wanted to get the 411 on this article. I posted in the FrontPage forum but there is never an answer. So I have come here, where all my IIS problems have been solved (Thank YOU!!) I want to create a small utility web site with a logon page and a form connected to an Access database. The article below explains exactly how but when
7
2190
by: Bernie Yaeger | last post by:
I can't believe that there aren't lots of developers who: 1. create a crystal report that connects to sql server 2. calls the report using the crystalreportviewer control to view it and then, if appropriate, print it 3. tries to deploy that report to the client's database, but now it calls for a different database name Yet I can't get an answer to the question: I have developed numerous reports in an app (Windows Database App) that...
47
1929
by: Lauren Wilson | last post by:
One more try. After ransacking the Desktop AND Enterprise edition of Ken Getz Dev Handbooks on Access 2002, I STILL don't know if it is or is not possible to link a client side MDE with a WEB server MDB table using ADO. Does ANYONE know the correct answer to that question?
1
2556
by: | last post by:
My scenario is that I have two webservers/database servers that I'm trying to make redundant in terms of filesystems, web services, and database services: + filesystems are replicated using server 2003 R2 + web services are made redundant using NLB + databases are mirrored via SQL Server 2005 database mirroring. I have ASP.NET and ASP applications that consult the database. These applications are being mirrored by virtue of the fact...
4
3068
by: vincent90152900 | last post by:
How to remove Security Question and Security Answer from membership provider? Following is my codes. Please tell me how to remove Question and Answer from membership provider. Thank you for replying. CreateNewWizard.aspx <asp:CreateUserWizard ID="CreateUserWizard1" runat="server"> <WizardSteps> <asp:CreateUserWizardStep runat="server"> </asp:CreateUserWizardStep> ...
2
7657
by: Ken Fine | last post by:
I want to add the security question and answer security feature to the ChangePassword control. I am aware that this functionality is built into the PasswordRecovery tool. I have implemented the PasswordRecovery with a Password reset required; a temporary password is sent to the account on file. I want an extra layer of security to accommodate the very unlikely contingency that someone's e-mail account is compromised. Challenging with the...
6
1862
by: smk17 | last post by:
I've spent the last few minutes searching for this question and I found an answer, but it wasn't quite what the client wanted. I have a simple online form where the user needs to fill out five fields out of nine. The other four are already there and filled out for the user. When they hit submit, all data is sent to us. But, if they desire (for whatever reason) the user can possibly delete what is already there and fill in something...
7
1804
by: CSharper | last post by:
Yesterday I had a heated discussion with my colleagues on what is a data centric application and having business logic in sql. I have group of people who wants to include all the business logic in the sql stored proc and I for one consider to have most of the business logic in the C# code (specifically in a controller class of MVC). These are my points to them. 1. Our application depends a lot on the data and we have huge amount of data...
0
8256
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8189
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8694
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8635
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8356
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8497
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4089
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2621
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.