instar4per
Programmer
I'm getting my feet wet in certain aspects of Winsock API. Some of it, I've got down (making a socket, connecting it, recieving data). Other parts, I don't have. If anyone could provide insight to:
-In the 'send' call, there is an argument named flags. What are the values that could go in here to do what things? Is it possible to make a chunk of data be 'OOB' by setting a certain flag?
-Also, I can set up a socket to listen, but how do I have a socket accept? It's pretty useless to have listening sockets if I can't do anything with them
.
Any insight on how to do simulate the ConnectionRequest event of the Winsock OCX using API, and the Accept method also using API, even shortcuts and quick&dirties, would be appreciated.
Thanks, guys!
-Bryan
-In the 'send' call, there is an argument named flags. What are the values that could go in here to do what things? Is it possible to make a chunk of data be 'OOB' by setting a certain flag?
-Also, I can set up a socket to listen, but how do I have a socket accept? It's pretty useless to have listening sockets if I can't do anything with them
Any insight on how to do simulate the ConnectionRequest event of the Winsock OCX using API, and the Accept method also using API, even shortcuts and quick&dirties, would be appreciated.
Thanks, guys!
-Bryan