Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

reading TCP header

3 views
Skip to first unread message

ragun...@gmail.com

unread,
Jan 18, 2006, 4:16:09 AM1/18/06
to
Is it possible to read & modify TCP header using C. Also I want a
sample C code for this. Please reply immediately.

Ian Collins

unread,
Jan 18, 2006, 5:18:33 AM1/18/06
to
ragun...@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.

Flash Gordon

unread,
Jan 18, 2006, 5:16:42 AM1/18/06
to
ragun...@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.

Haroon Shafiq

unread,
Jan 18, 2006, 6:38:30 AM1/18/06
to

ragun...@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.

ragun...@gmail.com

unread,
Jan 18, 2006, 7:07:21 AM1/18/06
to
thankyou for u'r suggestion abt immediate reply

Chuck F.

unread,
Jan 18, 2006, 9:16:43 AM1/18/06
to
ragun...@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/>

Keith Thompson

unread,
Jan 18, 2006, 10:25:18 AM1/18/06
to
"ragun...@gmail.com" <ragun...@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.

0 new messages