![]() |
| | #1 |
| * Death to Visual Basic * Join Date: Aug 2001
Posts: 768
| Raw Sockets and SP2... But the question remains, if i don't have raw sockets... can i still write applications that use icmp? like PING that uses icmp request. Because as far as i know, raw sockets is the only way to generate an icmp packet, but there aren't any raw sockets on "patched" windows machines, then how could it be that the PING program still works? thank you.
__________________ "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe http://www.Bloodware.net - Developing free software for the community. |
| Devil Panther is offline | |
| | #2 |
| and the hat of marbles Join Date: May 2002 Location: Göteborg, Sweden
Posts: 2,038
| The only two restrictions to raw sockets in SP2 are:
__________________ Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling |
| Sang-drax is offline | |
| | #3 |
| * Death to Visual Basic * Join Date: Aug 2001
Posts: 768
| i see.... so those are the only restrictions?
__________________ "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe http://www.Bloodware.net - Developing free software for the community. |
| Devil Panther is offline | |
| | #4 |
| Registered User Join Date: Dec 2003
Posts: 164
| You don't have to use raw sockets. There is also the ICMP.dll, although MS have been threatening to remove it for a few years now. Check the winsock FAQ for details on how to use it. (although raw is a better method)
__________________ Open source isn't a matter of life or death...... .......its much more important than that!! SuSE Linux - GCC 3.4.2 XP Pro - Visual Studio 2005 TS, MinGW 3.4.2 |
| eth0 is offline | |
| | #5 | ||
| and the hat of marbles Join Date: May 2002 Location: Göteborg, Sweden
Posts: 2,038
| Quote:
Quote:
__________________ Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling | ||
| Sang-drax is offline | |
| | #6 |
| * Death to Visual Basic * Join Date: Aug 2001
Posts: 768
| got it
__________________ "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe http://www.Bloodware.net - Developing free software for the community. |
| Devil Panther is offline | |
| | #7 | |
| * Death to Visual Basic * Join Date: Aug 2001
Posts: 768
| Quote:
__________________ "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe http://www.Bloodware.net - Developing free software for the community. | |
| Devil Panther is offline | |
| | #8 |
| Registered User Join Date: Dec 2003
Posts: 164
| yes, they haven't removed it (and I doubt they will be doing any time soon)
__________________ Open source isn't a matter of life or death...... .......its much more important than that!! SuSE Linux - GCC 3.4.2 XP Pro - Visual Studio 2005 TS, MinGW 3.4.2 |
| eth0 is offline | |
| | #9 |
| * Death to Visual Basic * Join Date: Aug 2001
Posts: 768
| [ur]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iphlp/iphlp/icmpsendecho.asp[/url] The document says I need to use icmpapi.h but neither my VC++ Studio nor the Borland C++ has it... Why?
__________________ "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe http://www.Bloodware.net - Developing free software for the community. |
| Devil Panther is offline | |
| | #10 |
| Registered User Join Date: Mar 2003
Posts: 3,844
| |
| Codeplug is online now | |
| | #11 |
| * Death to Visual Basic * Join Date: Aug 2001
Posts: 768
| But why do i need an update if it's an old header? It's practically obsolete. Also, how can I update my Borland C++ 5.5 compiler?
__________________ "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe http://www.Bloodware.net - Developing free software for the community. |
| Devil Panther is offline | |
| | #12 | |
| * Death to Visual Basic * Join Date: Aug 2001
Posts: 768
| I'm sorry to bring the topic back up, but I really need an answer on this question Quote:
__________________ "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe http://www.Bloodware.net - Developing free software for the community. | |
| Devil Panther is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Raw socket | like_no_other | Networking/Device Communication | 4 | 03-28-2009 02:05 PM |
| Question on ICMP echo request | kzfid | Networking/Device Communication | 7 | 11-02-2005 06:16 PM |