Re: Efficient protocol writing :

2002-06-18 Thread Omer Zak
Look for scatter/gather buffering. In particular, see: man sendmsg and the declarations of struct msghdr, struct iovec. On Tue, 18 Jun 2002, Iftach Hyams wrote: > When writing a porotocol based on UDP/IP, a header is needed. This cause a > duplicate copy > of the data : > ... > (user code) > s

RE: Efficient protocol writing :

2002-06-24 Thread Iftach Hyams
>> Look for scatter/gather buffering. >> In particular, see: man sendmsg and the declarations of >> struct msghdr, >> struct iovec. Thank you. This is the solution I need. My code is running on Linux, VxWorks, Windows and now Solaris. Probably Windows is missing this services, but who care - a