Phil Greg
11/4/2004 3:03:00 PM
Hi,
I'm pretty new to this, so sorry if I'm not being too clear... I implemented
events using the callback method (defined an interface in the common project,
from which my client class is derived, I pass a reference of this to the
server, which in turn calls up a function on my client). It seems to work
fine, as I put a breakpoint in my client side function, and it does get
called up properly. However, after the program exits my client side function,
my client seems to get stuck, and the top lines of the call stack (client
side) looks something like this:
00000000()
system.dll!System.Net.Sockets.Socket.Receive(byte[] buffer = {Length=4096},
int offset = 0, int size = 4096, System.Net.Sockets.SocketFlags socketFlags =
None) + 0x167 bytes
system.runtime.remoting.dll!System.Runtime.Remoting.Channels.SocketStream.Read(byte[]
buffer = {Length=4096}, int offset = 0, int size = 4096) + 0x30 bytes
system.runtime.remoting.dll!System.Runtime.Remoting.Channels.SocketHandler.ReadFromSocket(byte[]
buffer = {Length=4096}, int offset = 0, int count = 4096) + 0x28 bytes
system.runtime.remoting.dll!System.Runtime.Remoting.Channels.SocketHandler.BufferMoreData() + 0x1f bytes
Am I missing something obvious?