473,388 Members | 1,375 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,388 software developers and data experts.

reading TCP header

Is it possible to read & modify TCP header using C. Also I want a
sample C code for this. Please reply immediately.

Jan 18 '06 #1
6 3430
ra*********@gmail.com wrote:
Is it possible to read & modify TCP header using C. Also I want a
sample C code for this. Please reply immediately.

Yes.

Post an attempt ant people will help you.

I you want an immediate response, I suggest you use the phone.

--
Ian Collins.
Jan 18 '06 #2
ra*********@gmail.com wrote:
Is it possible to read & modify TCP header using C.
Yes if something has already captured the header and put it somewhere
you C code can access. How to interface to the network though is
implementation specific so you will have to ask in a group dedicated to
your system.
Also I want a
sample C code for this.
In that case I suggest using Google to search for some.
Please reply immediately.


Usenet is not an immediate medium. Things take time to propagate,
generally people are not paid to use it so it is when they have the time
and inclination, and even if someone replies immediately it might take a
long time to reach you.

If you want immediate response you have to pay hard cash for it in general.
--
Flash Gordon
Living in interesting times.
Although my email address says spam, it is real and I read it.
Jan 18 '06 #3

ra*********@gmail.com wrote:
Is it possible to read & modify TCP header using C. Also I want a
sample C code for this.
have you ever heard of libnet, libpcap or some thing like that? try
googling with phrase network packet capture or some thing else
Please reply immediately.


already enough said about this...

Haroon Shafiq.

Jan 18 '06 #4
thankyou for u'r suggestion abt immediate reply

Jan 18 '06 #5
ra*********@gmail.com wrote:

Is it possible to read & modify TCP header using C. Also I want
a sample C code for this. Please reply immediately.


Yassuh, right away. Your want is my command. No. The C standard
never mentions a TCP header.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
Jan 18 '06 #6
"ra*********@gmail.com" <ra*********@gmail.com> writes:
thankyou for u'r suggestion abt immediate reply


And if you want *any* reply here, immediate or not, don't use silly
abbreviations like "abt" for "about", and use standard capitalzation
and punctuation. This isn't a chat room or a text messaging system.

Also, read <http://cfaj.freeshell.org/google/>.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Jan 18 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Google Mike | last post by:
Tell me if this can be done, and if I have a misconception here. I am writing an app that will be served up in an app farm, and therefore I need to move the session information to the client, not...
7
by: John | last post by:
I have over 5000 thumbnail pictures of size 5kb each. I would like to able to load all 5000 pictures and view 50 per page using mysql_data_seek(). I would like to know what are the advantages and...
2
by: Alexander Schmidt | last post by:
Hi, I am not very familiar with C++ programming, so before I do a dirty hack I ask for a more elegant solution (but only the usage of STL is allowed, no special libs). So I need to read a file...
8
by: Darsant | last post by:
I'm currently reading 1-n number of binary files, each with 3 different arrays of floats containing about 10,000 values a piece for a total of about 30,000 values per file. I'm looking for a way...
1
by: Mike | last post by:
I have stored data in an xml document So I created one that looks like this <?xml verson="1.0"?><report><name>"Rpt1" /><width>"letterRotate"</width><Header>"10...
7
by: Nuno Magalhaes | last post by:
I've got a problem which relates to reading HTTP data. I've got the socket connected to a web site and then I send "GET / HTTP/1.1\n\n" and the page is received after a while but not all of the...
1
by: Sudhesh | last post by:
Hi, I know its fairly easy in .NET to read a text file (fixed or delimited) using a Microsoft Text driver. My question is, is there a similar easy way to read text files if they have different...
10
by: vfunc | last post by:
OK, after reading some C++ books and writing some programs that cover the core, where do I go from there, to say be able to read some open source code ? How do you unravel other peoples code when...
6
by: arne.muller | last post by:
Hello, I've come across some problems reading strucutres from binary files. Basically I've some strutures typedef struct { int i; double x; int n; double *mz;
4
by: shmick30 | last post by:
Hi There, I am looping through and reading the body contents of a mail box with over 200 emails in it. The script is running very slow and timing out after 180 seconds, only getting through...
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.