|
Home > Archive > Unix Programming > June 2005 > socket
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| ddrv2002@yahoo.ca 2005-06-16, 5:52 pm |
| Hi,
Is it possible to open a TCP socket as read_only from a process, so
that I can open another socket in another process with the same ip\port
as write_only?
Thanks,
Hakim
| |
| Martijn Lievaart 2005-06-16, 5:52 pm |
| On Thu, 16 Jun 2005 09:21:50 -0700, ddrv2002 wrote:
> Hi,
>
> Is it possible to open a TCP socket as read_only from a process, so
> that I can open another socket in another process with the same ip\port
> as write_only?
No. You'll probably want to read unix network programming btw.
M4
--
Ah, the beauty of OSS. Hundreds of volunteers worldwide volunteering
their time inventing and implementing new, exciting ways for software
to suck. -- Toni Lassila in the Monastry
| |
| ddrv2002@yahoo.ca 2005-06-16, 5:52 pm |
| I didn't find any trick to do this so I thought some experts out there
may know something like this.
Thanks for confirming this.
| |
| David Schwartz 2005-06-16, 5:52 pm |
|
<ddrv2002@yahoo.ca> wrote in message
news:1118949920.835851.153270@f14g2000cwb.googlegroups.com...
>I didn't find any trick to do this so I thought some experts out there
> may know something like this.
>
> Thanks for confirming this.
You can still open the socket in one process, hand a copy of the socket
to another process, and only read in one and only write in the other.
DS
|
|
|
|
|