473,396 Members | 1,933 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.

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 1078
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*@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.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*@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.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
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...
5
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...
7
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,...
47
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...
1
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...
4
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...
2
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...
6
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...
7
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...
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: 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
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,...
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...
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,...

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.