473,387 Members | 3,684 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Transfer an Array/File from one PC to another PC using ethernet port.

Hello

My PC[Linux] has 2 ethernet card.I am using 1 port for internet.The 2nd port is connected with another PC[Linux] and same network address.I want to send data by the 2nd port to that PC on time interval.

Can u give me any sugession on to transfer an array or a file from 1 PC to Another PC in a LAN using C programming language ?

What types of information I need to learn to write this program? If u have any example it is better for me to understand.

Thank you.......
Nov 5 '07 #1
2 4216
arne
315 Expert 100+
Hello

My PC[Linux] has 2 ethernet card.I am using 1 port for internet.The 2nd port is connected with another PC[Linux] and same network address.I want to send data by the 2nd port to that PC on time interval.

Can u give me any sugession on to transfer an array or a file from 1 PC to Another PC in a LAN using C programming language ?

What types of information I need to learn to write this program? If u have any example it is better for me to understand.

Thank you.......
I recommend Beej's Guide to Network Programming. It contains all you need and also provides sample code.

HTH,
arne
Nov 7 '07 #2
Thanks ARNE for yr help.This book is helpful for my work.


I recommend Beej's Guide to Network Programming. It contains all you need and also provides sample code.

HTH,
arne
Nov 14 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: Abhishek | last post by:
I have a problem transfering files using sockets from pocket pc(.net compact c#) to desktop(not using .net just mfc and sockets 2 API). The socket communication is not a issue and I am able to...
3
by: Alessandro | last post by:
Hi all! I'm trying to write a file transfer application using TCP, but I'm having some problem to connect the client and the server. Sniffing with Ethereal I can see the packets sent from the...
9
by: Sakharam Phapale | last post by:
Hi All, I want to read data from one file and write that into another file. Which is a way to do it quickly in terms of processing time? Data to be transfer is huge one. E.g. 2147483458...
10
by: Chris | last post by:
I have a PHP file upload feature that also gives the user the option to assign more than 1 project association to the file. The file's name, title, primary project, etc. is inserted into a...
9
by: Miro | last post by:
VB 2003 at the end of the code, this works great. bytCommand = Encoding.ASCII.GetBytes("testing hello send text") udpClient.Send(bytCommand, bytCommand.Length) and this recieves it Dim...
4
by: Luvin lunch | last post by:
Hi, I've developed a worklist system in Access and I plan to deploy four copies of it to the four users that need it. I said I'll be deploying copies because there is no shared network in the...
13
by: KiwiGenie | last post by:
I am trying to connect to the internet using a USB Ethernet adapter. It installs but won't connect to my dsl modem. The ethernet light on the modem doesn't even light up, though the same cable works...
2
yashg
by: yashg | last post by:
I am building a data backup application in C# using Sockets. It has a server component and a client component. The client is going to upload files to the server through TCP sockets. I've got all...
4
by: Andrew Jackson | last post by:
I am writing a newsgroup client. I have the protocol figured out. But I get slow transfer speeds off any of the network objects read the data from For example one of the commands for a news...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.