Datagram Accept Function and error 10045

S

sfncook

Hi, As far as I can tell you can't call the accept function on a
datagram socket. So why did this guy publish this sample code?http://www.codersource.net/winsock_tutorial_server_select_model.html
I modified it a little to fit it into my object and get a 10045 error
at the accept() function when I try to connect with a client. Thanks
for any help folks.

Well, I just found the "SOCK_STREAM" definition in the sample code I
was looking through. I just wish Google allowed us to delete our
previous posts so I didn't feel foolish.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,201
Messages
2,571,049
Members
47,654
Latest member
LannySinge

Latest Threads

Top