Archived

This topic is now archived and is closed to further replies.

nate0326

Raw Sockets

Recommended Posts

Does anyone know of a good tutorial on Raw Sockets for Windows? I''ve looked all over, and they seem pretty hard to come by. Thanks.

Share this post


Link to post
Share on other sites
Disclaimer: I am a mostly newbie, so any other advice is likely more accurate and valuable.


Depends on how raw you want to get.

http://www.ecst.csuchico.edu/~beej/guide/net/html/

This is the best site I''ve seen for socket tutorial. Just add

WSADATA wsaData;
WSAStartup(MAKEWORD(1,1),&wsaData);

before any standard BSD socket calls and you should be good to go.

From what I understand, the process to do proper raw sockets [non-udp/tcp] should be the same as on a *nix machine. I''ve not dealt with that, so cannot speak to it.

Share this post


Link to post
Share on other sites
nate0326,

here you go: http://fsix.net/files/Windows%20Internet%20Programming%20Part%203.htm
you can get more here: http://fsix.net/index.php?nav=program (Socket Programming section)

Share this post


Link to post
Share on other sites