I&#39;m trying to develop a simple application that let communicate two computers in a LAN for transferring files. My idea is that:<br><div class="gmail_quote"><br>using dbus/zeroconf each machine can see other&#39;s service and can connect with it (I need something without authentication or so)<br>

<br>having a lan with 2 machines<br><br>A asks B if he can send a file<br><br>if B accepts, begin transferring<br>if B refuse, send an error back<br><br>It would be nice to transfer big files (not loaded all in memory) and the ability to stop/resume the upload/download and the integrity check.<br>

<br>Is there a protocol that let me do this stuff or is better to implement a protocol on my own? (I&#39;d like that the system is flexible to further extend for example, implement shared folders and so on)<br><br>In the latter case it&#39;s convenient to use one port or two ports like ftp does?<br>

</div><br>