[prev in list] [next in list] [prev in thread] [next in thread] 

List:       winpcap-users
Subject:    Re: [Winpcap-users] Regarding packet send and recieve.
From:       inter inter <intercepter.mail () gmail ! com>
Date:       2010-07-16 16:12:58
Message-ID: AANLkTinGrpFnXRAFklPN-tdRJaB3bxXQ2ywBKnGOFyjm () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


just look for some special parameter in incoming packets, in case of tcp you
can catch packet with *your special* tcp port or ack\seq numbers and so
on...
this is your task, not task of winpcap.

2010/7/16 Mygapula, Sudheer IN BLR SISL <sudheer.mygapula@siemens.com>

>  Hello,
>
>
>
> I have one basic doubt regarding packet sending and receiving.
>
>
>
> How I can do the concept of sending packet to some device and waiting
> response from the device until time out.
>
>
>
> I mean to say while raw socket communication if you send packet using
> sendTo function after that
>
> Will be waiting until response comes from the device using receive from
> socket.
>
>
>
> Is it possible to do it using Winpcap lib also.
>
>
>
> After sending pcap_send if I call pcap_next_ex() then there might be chance
> I will be sniffing so many unnecessary responses.
>
>
>
>
>
> Is there any way to do it.
>
> ------------------------------
> Important notice: This e-mail and any attachment there to contains
> corporate proprietary information. If you have received it by mistake,
> please notify us immediately by reply e-mail and delete this e-mail and its
> attachments from your system.
> Thank You.
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users@winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
>

[Attachment #5 (text/html)]

just look for some special parameter in incoming packets, in case of tcp you can \
catch packet with *your special* tcp port or ack\seq numbers and so on...<br>this is \
your task, not task of winpcap.<br><br><div class="gmail_quote"> 2010/7/16 Mygapula, \
Sudheer IN BLR SISL <span dir="ltr">&lt;<a \
href="mailto:sudheer.mygapula@siemens.com">sudheer.mygapula@siemens.com</a>&gt;</span><br><blockquote \
class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, \
204, 204); padding-left: 1ex;">






<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: \
12pt;">Hello,</span></font></p> <p class="MsoNormal"><font face="Times New Roman" \
size="3"><span style="font-size: 12pt;"> </span></font></p> <p \
class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: \
12pt;">I have one basic doubt regarding packet sending and \
receiving.</span></font></p> <p class="MsoNormal"><font face="Times New Roman" \
size="3"><span style="font-size: 12pt;"> </span></font></p> <p \
class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: \
12pt;">How I can do the concept of sending packet to some device and waiting response \
from the device until time out.</span></font></p> <p class="MsoNormal"><font \
face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p> <p \
class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: \
12pt;">I mean to say while raw socket communication if you send packet using sendTo \
function after that </span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: \
12pt;">Will be waiting until response comes from the device using receive from \
socket.</span></font></p> <p class="MsoNormal"><font face="Times New Roman" \
size="3"><span style="font-size: 12pt;"> </span></font></p> <p \
class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: \
12pt;">Is it possible to do it using Winpcap lib also.</span></font></p> <p \
class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: \
12pt;"> </span></font></p> <p class="MsoNormal"><font face="Times New Roman" \
size="3"><span style="font-size: 12pt;">After sending pcap_send if I call \
pcap_next_ex() then there might be chance I will be sniffing so many unnecessary \
responses.</span></font></p>

<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: \
12pt;"> </span></font></p> <p class="MsoNormal"><font face="Times New Roman" \
size="3"><span style="font-size: 12pt;"> </span></font></p> <p \
class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: \
12pt;">Is there any way to do it.</span></font></p> </div>
<br>
<hr>
<font color="Gray" face="Arial" size="1">Important notice: This e-mail and any \
attachment there to contains corporate proprietary information. If you have received \
it by mistake, please notify us immediately by reply e-mail and delete this e-mail \
and its attachments  from your system.<br>
Thank You.<br>
</font>
</div>

<br>_______________________________________________<br>
Winpcap-users mailing list<br>
<a href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a><br>
<a href="https://www.winpcap.org/mailman/listinfo/winpcap-users" \
target="_blank">https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br> \
<br></blockquote></div><br>



_______________________________________________
Winpcap-users mailing list
Winpcap-users@winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic