- Timestamp:
- Nov 2, 2010, 12:14:15 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnscaster.cpp
r2509 r2633 218 218 void t_bnscaster::write(char* buffer, unsigned len) { 219 219 if (_outSocket) { 220 _outSocket->write(buffer, len); 221 _outSocket->flush(); 220 unsigned bytesWritten = _outSocket->write(buffer, len); 221 if (bytesWritten != len) { 222 emit(newMessage("Broadcaster: cannot write to socket, closing")); 223 delete _outSocket; 224 _outSocket = 0; 225 } 222 226 } 223 227 }
Note:
See TracChangeset
for help on using the changeset viewer.