linux - send a file using c in an adhoc network -


i want send file using c in adhoc network in mt linux platform...plz me header files , functions need use

you use system() call invoke scp, e.g.

system("scp file.dat user@remote-host:path/to/directory/");

$ man system

$ man scp


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -