Re: [Pharo-project] SocketPlugin: ignoring unknown option 'TCP_CORK'

2012-02-13 Thread Eliot Miranda
On Mon, Feb 13, 2012 at 1:14 PM, Philippe Marschall wrote: > On 13.02.2012 19:25, Eliot Miranda wrote: > >> >> >> On Sun, Feb 12, 2012 at 11:59 PM, Philippe Marschall >> >> > >> wrote: >> >>On 02/13/2012 12:08 AM, Eliot Miranda wrote: >> >> >> >> >>

Re: [Pharo-project] SocketPlugin: ignoring unknown option 'TCP_CORK'

2012-02-13 Thread Philippe Marschall
On 13.02.2012 19:25, Eliot Miranda wrote: On Sun, Feb 12, 2012 at 11:59 PM, Philippe Marschall mailto:philippe.marsch...@netcetera.ch>> wrote: On 02/13/2012 12:08 AM, Eliot Miranda wrote: Hi Phillipe, you'll need to add TCP_CORK to the list of known options in

Re: [Pharo-project] SocketPlugin: ignoring unknown option 'TCP_CORK'

2012-02-13 Thread Eliot Miranda
On Sun, Feb 12, 2012 at 11:59 PM, Philippe Marschall < philippe.marsch...@netcetera.ch> wrote: > On 02/13/2012 12:08 AM, Eliot Miranda wrote: > >> >> >> >> >> Hi Phillipe, >> >> you'll need to add TCP_CORK to the list of known options in >> platforms/unix/plugins/**SocketPlugin/sqUnixSocket.c

Re: [Pharo-project] SocketPlugin: ignoring unknown option 'TCP_CORK'

2012-02-13 Thread Philippe Marschall
On 02/13/2012 12:08 AM, Eliot Miranda wrote: Hi Phillipe, you'll need to add TCP_CORK to the list of known options in platforms/unix/plugins/SocketPlugin/sqUnixSocket.c Do you accept patches? Is the source still at [1]? [1] http://www.squeakvm.org/svn/squeak/branches/Cog/ Cheers Ph

Re: [Pharo-project] SocketPlugin: ignoring unknown option 'TCP_CORK'

2012-02-12 Thread Eliot Miranda
Hi Phillipe, you'll need to add TCP_CORK to the list of known options in platforms/unix/plugins/SocketPlugin/sqUnixSocket.c On Sat, Feb 11, 2012 at 1:51 PM, Philippe Marschall wrote: > Hi > > I had this crazy idea, what instead of buffering at the application level > I use the native buffer

[Pharo-project] SocketPlugin: ignoring unknown option 'TCP_CORK'

2012-02-11 Thread Philippe Marschall
Hi I had this crazy idea, what instead of buffering at the application level I use the native buffer of the socket? I would be doing more or less this: set TCP_CORK to 1 set TCP_NODELAY to 0 do individual writes set TCP_CORK to 0 set TCP_NODELAY to 1 do last write goto 1 (use TCP_NOWAIT