Search the web
Sign In
New User? Sign Up
libsocket · libsocket is a library for DJGPP, the DO
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
having problems in constructing IP packets. plz help   Message List  
Reply | Forward Message #477 of 491 |
Re: [libsocket] having problems in constructing IP packets. plz help

Hello.

vaishnavi kidambi wrote:
> i am raw socket programming and i am havin problems constructing ip
> packets, inspite of giving the
>
> int on = 1;
>
> setsockopt(sock,SOL_SOCKET,IP_HDRINCL,(char*)&on,sizeof(on));
>
> and filling up the ip header i am unable to send the packet. i am using
> windows 2000 advanced server as the operating system . Is it b'coz of the os
> i am unable to construct and send the packet.but if i set on =0 , i am able
> to send the packet, but my primary objective is to construct ip packets, can
> someone please help me with this.

What user are you trying this as? I think you have to be Administrator or a
user that has priveledges to use raw sockets.

Please note that this mailing list isn't about socket programming in general.
It's about libsocket, a BSD sockets library for DJGPP. You would be better off
asking in the Winsock newsgroup or reading the Winsock Programmer's FAQ.

Regards,

--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]



Wed Sep 18, 2002 11:07 pm

richdawe
Offline Offline
Send Email Send Email

Forward
Message #477 of 491 |
Expand Messages Author Sort by Date

hi all, i am raw socket programming and i am havin problems constructing ip packets, inspite of giving the int on = 1; ...
vaishnavi kidambi
vaish_kidambi@...
Send Email
Sep 18, 2002
7:16 pm

Hello. ... What user are you trying this as? I think you have to be Administrator or a user that has priveledges to use raw sockets. Please note that this...
Richard Dawe
richdawe
Offline Send Email
Sep 19, 2002
6:47 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help