Introduction - If you have any usage issues, please Google them yourself
Writing C# TCP communication program, send data, send the byte array can only handle up and not say too much trouble, if and VC6.0 to write programs such as communication, a lot of the structure are transmitted, in VC6. 0 can easily put a char [] array into a structure, while in C# but not directly to the byte array is converted to structure, to send a C# structure can be achieved by the following methods: