News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Internet Protocols

Started by RedXVII, April 07, 2006, 01:10:45 AM

Previous topic - Next topic

RedXVII

Im afraid i dont know much about packets and stuff. Basically, i want to be able to use a program to interact (or replicate) the ping protocol so that i can ping servers with it. Likewise with http, ftp and stuff.

Im geussing theres some kind of international standard for what the packet should consist of for each protocol. Where would I find such information?

Cheers  :U

BogdanOntanu

RFC 791 - Internet
RFC 792 - ICMP
RFC 768 - UDP

or http://freesoft.org/CIE/RFC/index.htm

a simple Google search :P
Ambition is a lame excuse for the ones not brave enough to be lazy.
http://www.oby.ro

AsmER

Maybe this attached file could help...
(winsock.hlp :8))

AsmER

[attachment deleted by admin]

RedXVII

Hmmm, it looks kinda messy and slightly unitelligible; but i geuss it will do - just briefly glancing, it looks like the raw information is there.

Cheers  :U

arafel

By the way if you are targeting for windows xp and later you could use Icmp* api functions for pinging as it doesn't requires manually creating packets and basically does all the work.