socket
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > socket




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    socket  
ddrv2002@yahoo.ca


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-16-05 10: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






[ Post a follow-up to this message ]



    Re: socket  
Martijn Lievaart


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-16-05 10: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






[ Post a follow-up to this message ]



    Re: socket  
ddrv2002@yahoo.ca


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-16-05 10: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.






[ Post a follow-up to this message ]



    Re: socket  
David Schwartz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-16-05 10: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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:10 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register