Networking Forums

Networking Forums > Computer Networking > Linux Networking > simultaneous read & write on socket fd

Reply
Thread Tools Display Modes

simultaneous read & write on socket fd

 
 
Dirk Petera
Guest
Posts: n/a

 
      09-15-2003, 12:52 PM
Hello,

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 for advice.

Dirk
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Only 4 simultaneous socket connections? Gerrit Niezen Linux Networking 1 02-01-2007 03:33 AM
NEED HELP Socket programming : HOW read and write with timeout TF Linux Networking 2 10-13-2005 02:12 PM
VPN & Cable ISP = Slow Read & Write Hareth Windows Networking 1 06-17-2004 05:57 PM
55Mb/sec read but only 1mb/sec write via gigabit =?Utf-8?B?Y2hhcmxpZS1lcA==?= Windows Networking 0 04-15-2004 01:01 AM
read/write permission option John Dodge Windows Networking 1 11-15-2003 04:52 PM



1 2 3 4 5 6 7 8 9 10 11