Im sorry but i dont know what sockets are... pls help me..
a link to a tutorial on socket programming might help.. or a sample code will extremely help..
Take a step back: how are those two machines connected to each other? Can
one machine 'see' the filing system of the other and/or vice versa? If so, you can
simply copy the file from one FS (Filing System) to the other.
If not, does that Linux machine run FTP (File Transfer Protocol)? If so you can
use your FTP client on the other machine to transfer the file.
Does a SMB ("Samba") server run on that Linux machine? If so you can go back
to that step one again and simply copy the file.
Does any service run on that Linux machine that accepts file names and data
and creates a corresponding file and stores the data in there? If so you have to
connect to that service and send it the name and content of your file. This
usually involves sockets.
Is there any wire connected between the two machines? If not, you're out of luck.
Use a USB stick or even floppy disks then.
kind regards,
Jos