string SocketGetFile(int socket, string ovfname)
Retreives an expected incoming file from the server.
// Parse the command. string s = SocketGetString(server_sock); if (!strcmp(s, "FILE")) { // Get the file name. s = SocketGetString(server_sock); // Retrieve the file. SocketGetFile(server_sock, "download/"+s); }
There are no talkbacks on this documentation page yet. Post the first?
Doc Nav |
Your docs |