Grazie! Per ora ho risolto così:
codice:
char buf;
while (!fileDiInput.eof()) {
	fileDiInput>>buf;
	char* pbuf = &buf;
	mySocket->sendWithoutFrame(pbuf,1);
	}
e sembra funzionare, anche se a volte il telnet mi visualizza caratteri strani ! Però potrebbe essere semplicemente un problema del telnet. Quando lo proverò con il client vediamo cosa restituisce!