G
Guest
I have run into a problem which may be a bug in the socket class of .net. My
application is a server that receives heavy volumes of data via multiple
connections using asynchronous socket operations.
After receiving flawlessly for several minutes at heavy volumes (400-800
messages per second) one of the sockets will begin returning a zero-filled
buffer. The data is being generated by a test generator, so I can stop the
data flow and send packets one at a time.
In the data arrival event, the value returned by the EndReceive call is the
correct length of the xpected amount of data ( 56 bytes), but the byte array
it should have put the data in is still filled with zeros (nulls). I used a
LAN sniffer on the same machine to verify that the packets are not being sent
by the data generator filled with nulls. Sometimes it does this only once,
other times it will not revert by itself to proper operation.
Has anyone experienced this? The MS knowledge base has nothing in relation
to this problem. I am almost ready to report this to MS.
Thanks in advance.
application is a server that receives heavy volumes of data via multiple
connections using asynchronous socket operations.
After receiving flawlessly for several minutes at heavy volumes (400-800
messages per second) one of the sockets will begin returning a zero-filled
buffer. The data is being generated by a test generator, so I can stop the
data flow and send packets one at a time.
In the data arrival event, the value returned by the EndReceive call is the
correct length of the xpected amount of data ( 56 bytes), but the byte array
it should have put the data in is still filled with zeros (nulls). I used a
LAN sniffer on the same machine to verify that the packets are not being sent
by the data generator filled with nulls. Sometimes it does this only once,
other times it will not revert by itself to proper operation.
Has anyone experienced this? The MS knowledge base has nothing in relation
to this problem. I am almost ready to report this to MS.
Thanks in advance.