Changeset 19:54c3f68d2d46 in xplcommon for src/xplcommon/posix/Socket.h


Ignore:
Timestamp:
12/29/12 18:47:52 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Fixed problems with non-blocking mode and extended the socket test program to actually communicate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/xplcommon/posix/Socket.h

    r16 r19  
    8989{
    9090    if (fd<0) setErrorCodeFromErrno();
     91    else if (waiter!=0) setNonBlocking(fd);
    9192}
    9293
     
    9798    BufferedStream(waiter, fd, readingCapacity, writingCapacity)
    9899{
     100    if (waiter!=0) setNonBlocking(fd);
    99101}
    100102
Note: See TracChangeset for help on using the changeset viewer.