lundi 7 décembre 2015

Simple tcp server c++ check available bytes

I'm trying to make a simple tcp server according to this lesson. Everything works fine, and now I'm trying to encapsulate functions in Socket class. I try to make method that checks amount of available bytes to read, and I can't find necessary function. It could be some kind of ftell() or something ... Can someone tell me how solve this problem?

Aucun commentaire:

Enregistrer un commentaire