I assume he's using TCP. If he's just sending a primitive type, he can use BitConverter.GetBytes(primitive) to get an array of bytes, then send that via the .Send method of the socket.
Name:
Anonymous2008-12-19 18:40
>>5
On the client end, he should use BitConverter.ToXXXX(array) to get back the primitive from the byte array.
"Scheme is very cool, and lots of fun to learn. I highly recommend the SICP book, it has lots of problem solving techniques which you don't tend to see in C++ books."