Can anyone point me to a tutorial on the best way to open a connection from client to server, read in a binary file and send its contents reliably across the network connection? Even better, is there an open source library that already does this that I could refer to?
Share
You should look into binary serialization and sending it over a TCP socket.
Good explanation on different types of serialization:
http://www.dotnetspider.com/resources/408-XML-serialization-Binary-serialization.aspx
Good primer on TCP Client/Server in C#:
http://www.codeproject.com/KB/IP/tcpclientserver.aspx