You could always use DirectSound or XACT and that way you wouldn't have to ship additional dll's with your application :)
_______________________
Winsock tutorials
Type: Posts; User: lonewolff
You could always use DirectSound or XACT and that way you wouldn't have to ship additional dll's with your application :)
_______________________
Winsock tutorials
You can recieve as much data as you want.
So, you could recieve the data one byte at a time if you like. Not very efficient but you can parse the data as it comes in and stop the recieve calls when...
If you send to the socket and it returns error 10057 WSAENOTCONN then you know that the socket is not connected.
More details on error handling can be found here;
Winsock error handling