Hi, I think you're just reading in the wrong place in the packet. Remember the packet you receive is a raw full Ethernet packet, not an IP packet, so you have to interpret the Ethernet header first before going further, and read at the right offsets.
Jacques. At 12:46 31/05/2002, leo lion wrote: >herewith i am including the output for the code sent before... > > > >Packet number 51 has just been sniffed of length:1514 > From: 61.114.47.106:29285 > To: 98.62.67.97:25970 > Payload: =r/yc>Chat</a> · ><a href=r/gc>GeoCities</a> · ><a href=r/gr>Greetings</a> · ><a href=r/gp><b>Groups</b></a>/<a href=r/ub style="text-decoration:none; >color: >000000;">Clubs</a> · ><a href=r/m2>Mail</a> · ><a href=r/pf>Members</a> · ><a href=r/p2>Messenger</a> · ><a href=r/oa>Mobile</a> · ><a href=r/pr>Personals</a> · ><a href=r/ps>People Search</a> · ><a href=�VH<4�f > > >Packet number 52 has just been sniffed of length:54 > From: 100.23.8.0:22445 > To: 69.0.5.220:16384 > Payload: �i,�P�CV�� > > >Packet number 53 has just been sniffed of length:1514 > From: 105.103.104.116:24940 > To: 61.50.56.32:29757 > Payload: Korea Japan"></td><td bgcolor=0C2D83 width=135 > align=right><a >href=s/9437><img >src=http://us.i1.yimg.com/us.yimg.com/i/fifa/gen/promo/fwc.gif >width=135 height=30 border=0></a></td></tr></table><table border=0 >cellspacing= > cellpadding=0 width=100%><tr><td width=125 valign=top rowspan=2><a > href=s/9437 ><img src=http://us.i1.yimg.com/us.yimg.com/i/fifa/gen/promo/s_ph2.jpg >width=125 >height=150 border=0�VH<$�e > > > >WHY ALWAYS CLASS A ip's WHEN ONLY CLASS C ip's SHOULD >APPEAR...????????2de5831.jpg > > > >Do You Yahoo!? ><http://rd.yahoo.com/welcome/*http://fifaworldcup.yahoo.com>Yahoo! - >Official partner of 2002 FIFA World Cup
<<attachment: 2de5831.jpg>>
