Do I need synchronization for parallel capture of inbound and outbound Stream 'and one Socket ' and different Threads?

Is it possible to work in parallel with the incoming and outgoing Stream "ohm of one Socket "?

    1 answer 1

    From the point of view of the system, the concept of flow is absent (the system itself provides the flow scheduler to the user program). So from the point of view of the system concept of socket, the question is incorrect.

    And from the point of view of the Socket object of a programming language, it depends on the programming language itself (more precisely, on the implementation of its system library). In C #, for example, Socket thread-safe.