#4 stream operators for LinuxSocket

open
nobody
None
5
2012-11-04
2012-11-04
No

As of 1.5.0, the stream operators are only declared for the class LinuxServer, the base class LinuxSocket might need the same operators.
I reworked the LinuxServer/LinuxSocket classes to move the << and >> operators from LinuxServer to LinuxSocket. By the way, LinuxServer::accept requires a LinuxSocket argument (this change might break other code).

Proposed patch is attached to this report. It is based on revision 77.

Discussion

  • Florent Ouchet

    Florent Ouchet - 2012-11-04

    proposed patch

     
  • Florent Ouchet

    Florent Ouchet - 2012-11-04
    • summary: stream operator for LinuxSocket --> stream operators for LinuxSocket
     
  • Florent Ouchet

    Florent Ouchet - 2012-11-04

    Sorry, it is based on revision 82. By the way, this revision enables non_blocking sockets.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks