Thanks very much Will. I guess windows sockets only ever transfer in binary mode (as I suppose "byte stream" is another way of saying "binary").
Your post has been very helpfull.
Bradius
C++/Java programmer
I have a class that uses the WinSock socket API and I need to make sure that the socket is using binary mode rather than text.
Any Ideas?
Thanks,
Brad.
Bradius
C++/Java programmer
Thanks Kalisto, Palbano you have been very helpfull. I used the pointer idea as follows, and it worked a treat:
/***START CODE***/
class MyClass{
private:
//Like in Java- just declare, don't initiallise.
ANamespace::AClass* AClassInstance;
public:
MyClass(){
// Initiallise here...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.