Aggiungo, sperando possiate darmi una mano che la variabile mySocket è di tipo Tcpip*.
Ho provato a fare
codice:
char buf;
while (!fileDiInput.eof()) {
fileDiInput>>buf;
mySocket->sendWithoutFrame(buf,1);
}
problema: il compilatore mi dice così
codice:
error C2664: 'sendWithoutFrame' : cannot convert parameter 1 from 'char' to 'const void *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
Poiché finita questa cosa ho finito tutto, non c'è nessuna anima pia ke sa dove mettere le mani?