M
Marten Van Keer
Hello;
I have a little problem here. I have 2 applications: A and B.
Application B listens to a network stream and uses a AsyncCallback:
Callback = New AsyncCallback(AddressOf OnDataReceived)
m_asynResult = objMySocket.BeginReceive(objMyBytes, 0, objMyBytes.Length,
SocketFlags.None, Callback, Nothing)
When Application B receives data on its network stream it raises an event.
Application A receives the event raised in Application B and starts a
System.Windows.Forms.Timer. This timer should raise a tick event after 10
seconds... But the "Tick" is never triggers ?¿?
It looks like the Timer "tick"-event is absorbed by the Callback in
Application B?
Any idea what the problem is ?
Regards;
MVK
I have a little problem here. I have 2 applications: A and B.
Application B listens to a network stream and uses a AsyncCallback:
Callback = New AsyncCallback(AddressOf OnDataReceived)
m_asynResult = objMySocket.BeginReceive(objMyBytes, 0, objMyBytes.Length,
SocketFlags.None, Callback, Nothing)
When Application B receives data on its network stream it raises an event.
Application A receives the event raised in Application B and starts a
System.Windows.Forms.Timer. This timer should raise a tick event after 10
seconds... But the "Tick" is never triggers ?¿?
It looks like the Timer "tick"-event is absorbed by the Callback in
Application B?
Any idea what the problem is ?
Regards;
MVK