Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: TCP/IP packets and wireshare

20 Nov 2011   #1
bkelly13

Windows 7 64 bit
 
 
TCP/IP packets and wireshare

windows 7, 64 bit, Visual Studio 2008, C++

I am writing a TCP/IP application to send data to vendor software on another computer. In order to check my data I need to use Wireshare. I am practicting on my home computer. It is connected to a Belkin router than a cable modem.

when I capture some packets they are not formatted according to my SAMs book on TCP/IP. According to the book the packet starts with the version number and IHL and the source address begins in byte 13 (using decimal, counting one to N).
Picking an arbitrary transmission, in my wireshark display the version number begins in byte 15, not 1. The source address follows at the expected relative address, now byte 27 instead of the expected 13. The below was copied from my wireshark display.
What is this 13 byte offset? And what is in those first 12 bytes?
In this example my computer is 192.168.2.2 (C0.A8.2.2 hex) and the destination is 65.254.245.100 (41.fe.f8.64 hex)
0000 00 30 bd 9c 71 9e bc ae c5 01 b7 54 08 00 45 00 .0..q... ...T..E.
0010 00 34 1f 85 40 00 80 06 00 00 c0 a8 02 02 41 fe .4..@... ......A.
0020 f8 64 c1 f6 00 6e 59 4a a0 8a 00 00 00 00 80 02 .d...nYJ ........
0030 20 00 fd 33 00 00 02 04 05 b8 01 03 03 08 01 01 ..3.... ........
0040 04 02 ..
Thanks for your time


My System SpecsSystem Spec
.
20 Nov 2011   #2
Darryl Licht

Windows 7 Ultimate 64 bit Steve Ballmer Signature Edition
 
 

Wireshare or Wireshark??? You mentioned both. If you meant Wireshark, as I suspect, it isnt an easy app to figure out on your own. I suggest looking at some of the many tutorials on Wireshark on their website and even youtube. It will take some time, but you eill get it.

Also, how old is the SAMS book you mentioned?
My System SpecsSystem Spec
21 Nov 2011   #3
bkelly13

Windows 7 64 bit
 
 

Oops, I did mean Wire Shark. The book has a copyright date of 2009. Title is "Sams Teach Yourself TCP/IP"

I need to look at date that is sent from or to 192.10.12.50. I don't want any of the regular polling and keep alive stuff. The communications of interest is initiated from 192.10.12.50 with a broadcast to any IP address and a request for port 49000. (That I how I read the code, The vendor's app resides on 192.10.12.100 and will accept that connection and respond.) Then *.50 will mostly send data and and *.100 will mostly receive the data. I need to see those packets.
My System SpecsSystem Spec
.

Reply

 TCP/IP packets and wireshare




Thread Tools




Similar help and support threads
Thread Forum
Bizarre packets being sent
What is this i'm not even searching on the net or doing anything and these are being sent also i just did a factory format so there is no virus stuff, http://i.imgur.com/mVfVQlb.jpg?1 http://imgur.com/mVfVQlb
Network & Sharing
Not receiving Packets, Internet problems
Ok, so i will start with the problem at hand. From 23 October my Internet dropped suddenly, until that day from August when i first got my Internet till 22 October it worked fine. I have found out that the problems are from Packets Received. When i connect to the Internet it works for like 5...
Network & Sharing
Not able to send WOL Magic Packets from W7HP64bit.
Hello! Wake-on-LAN has apparently been a major headache for many, and I've tried to search all sorts of forums for similar problem as mine. Usually the problem is that one can't wake computer X either inside or outside LAN. Well this isn't my problem, since my computer X (old Acer 1692WLMi laptop...
Network & Sharing
AVG Firewall blocking very big amounts of packets
Hey i just saw my AVG is blocking very much amounts of packets , is this normal ?
System Security
UPD packets
All, I am on Windows 7, HP PC.... cable modem.. I keep getting messages on my Norton AV that read, "Inbound UDP Packet Allowed". I traced the ISP these packets are coming from... and it is my ISP.VIA port 53. I see that one of the ISPs, however, is in another state on the other side of the...
Network & Sharing
Not getting as much packets as in Windows 7
Hi, this is probably more of a Windows XP problem but because I'm comparing it with Windows 7, I post it here. Here's actually a copy&paste of what I've written in other forums, but still got no answer to it. I have a Windows XP Home Edition SP3 running on an Intel QuadCore (Core2Quad) machine...
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 00:14.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App