Re: [gnet-devel] How to set TCP_NODELAY



On Sun, 2008-08-17 at 12:49 +0800, Kuang-Chun Cheng wrote:

> Is it possible to set TCP_NODELAY option via GNet API which
> could be done via setsockopt() under UNIX/Linux.

You'd have to add a new function to do that, or hack it into the
existing gnet_tcp_socket_set_tos() (I suppose it could be done
automatically in addition to the IPTOS_LOWDELAY if GNET_TOS_LOWDELAY is
set).

 Cheers
  -Tim




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]