"Yue Chen" <[EMAIL PROTECTED]> wrote:

> Hi Solaris experts
>
> I am new for Solaris development. But I have developed on Linux for
> several year. Recently I have to transform a program from Linux to
> Solaris. The program uses ssh to connect to a remote host and
> redirects the input/output of ssh to a unix socket locally. It also
> has a component to send commands into the unix socket. After the
> commands are transferred to remote host and executed there, the
> results are received from the same unix socket.
>
> This program works very well on linux. However, when remote host is
> solaris, if the command line is longer than 1024 bytes, sometimes some

If you like to transfer bigger chunks, you need to set the the send and
reveive buffer size of the socket using setsockopt. This is the expected 
behavior.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to