Sep 26, 2010

Strange Socket Streaming problem

Today I've found out that, on an old computer with an old Ethernet card (only 3 years old), the card cannot handle big data.

But there is no problem if we use the native function Write(byte[],int,int); to write data.

There will be a problem if we use Write(byte) to write every single byte manually.

The byte[] is of size 200, and that already causes problem.

The ethernet card will crash.