[ntp:questions] Any samples for NTP/SNTP client code?

Jan Ceuleers janspam.ceuleers at skynet.be
Fri Dec 7 10:49:13 UTC 2007


Danny Mayer wrote:
> Jan Ceuleers wrote:
>> This means that there is no need to allocate memory for constructing the 
>> reply packet, no need to copy data from received to transmitted packet, etc.
> 
> This is also false. That's not what the code does. The recvbuf structure
> is not even the same size as the transmitbuf structure.

I wasn't talking about the recvbuf and transmitbuf structures, but the 
socket receive and transmit buffers.

Besides, transmitbuf appears to only exist in the Windows port.

Jan




More information about the questions mailing list