|
by: Barry Anderberg |
last post by:
I am using asynch sockets and so I call BeginReceive and then in my
callback function I have certain events that would cause me to want to
throw an exception.
The problem of course is that the callback function is executing in a
separate thread from the main thread so when I throw the exception
it's apparently impossible to handle it in the calling thread (ie the
thread that called BeginReceive(..).
Is there a way to throw an...
|
by: Glen Wolinsky |
last post by:
This is my first attempt as asynchronous processing. I have created a
small test app as proof of concept, but I am having one proglem. In
the example (code listed below), my callback routine has two problems:
1. It runs TWICE; and
2. While it seems to update the web page controls, the results never
show up on the page.
I am using delegates per a couple of examples I found on MSDN and
elsewhere.
|
by: ghost |
last post by:
As the Subject indicates I have written a web page that makes use of
several web service calls.
Some of the web service calls are very fast so they called
synchronously. Some web service calls are longer running so I call
them asynch so that they can all run concurrently. The user base for
the application that I am creating demands the partial response of the
faster calls and a gradual update of their web page info from the
balance of...
|
by: Matthew Frederick |
last post by:
Hope this is the best forum for this, any suggestions for another are
appreciated.
I have a simple Compact Framework (2) app that sends some data to a web
service and acts despending on the response. I added the web service as a web
reference (in VS2005 VB) and then have a bit of code that calls the service
like this:
Dim webService As New com.companynamehere.webservices.CheckList
|
by: suranasaurabh |
last post by:
How to create a synchronous Socket in C#.Net?
In VC++ we have AsynchSocket class to do that... but in C# is there anything????
Socket from System.net is not useful since its a blocking call....
I need somthing which will tell me whenever something happens .... like it fires a method (event) when a data arrives...its called asynch socket..
Can somebody help me on this.....
|
|
by: Techno_Dex |
last post by:
What is the correct way to debug a WS which makes it's call Asynch?
|
by: EM_J |
last post by:
I am implementing this interface in one of my pages. The
RaiseCallbackEvent method runs a task for about 3 seconds. I've
noticed when I am on that page and click a tab to navigate to another
page, it may take up to 3 seconds to redirect. If I decrease the time
to 500 ms, the redirect happens much faster.
So it seems like this asynch task is not really asynch, since the
redirect is waiting for it to complete. Am I misunderstanding...
|
by: Patino |
last post by:
I have a particular WS consumer application (Windows app) that was not
able to read an error from the WS app because it was calling a method
asynch. The client app just hangs there. But once I switched the call
to a synch, the client app got the error message and displayed it
nicely to the user.
In this client app. the user does not have to do anything while
waiting for results to come back from the web, so it makes sense to
call the...
|
by: Frank Hauptlorenz |
last post by:
Hello out there,
I have 2 services running. The first one runs in session mode and the
2nd not.
The first one should call an operation of the 2nd one asynchronously,
because this is doing some long running calculations.
If this call is synchronously, everything is running okay. If it's call
async the operation does not even start.
(I've setup up some event log message at the entry point).
|
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...
|
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,...
|
|
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,...
|
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...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|