Archived

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

Raw Sockets

This topic is 5178 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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