P
Pallav singh
Hi ,
Assume a tcp/ip connection between two Linux platforms established via
the socket interface. The processes on the two platforms communicate
through a file descriptor.
Is it possible to simultaneously read and write on one socket file
descriptor from 2 threads within the process, i.e. one thread reads
data the other thread writes data at the same time on the same file
descriptor ?
Or will this screw up my data ?
Thanks
Pallav Singh
Assume a tcp/ip connection between two Linux platforms established via
the socket interface. The processes on the two platforms communicate
through a file descriptor.
Is it possible to simultaneously read and write on one socket file
descriptor from 2 threads within the process, i.e. one thread reads
data the other thread writes data at the same time on the same file
descriptor ?
Or will this screw up my data ?
Thanks
Pallav Singh