Home | History | Annotate | Download | only in tpm2

Lines Matching full:numbytes

15 BOOL ReadBytes(SOCKET s, char* buffer, int NumBytes);
18 BOOL WriteBytes(SOCKET s, char* buffer, int NumBytes);
316 // This function reads the indicated number of bytes (NumBytes) into buffer from the indicated socket.
322 int NumBytes
327 while(numGot<NumBytes)
329 res = recv(s, buffer+numGot, NumBytes-numGot, 0);
347 // This function will send the indicated number of bytes (NumBytes) to the indicated socket
353 int NumBytes
358 while(numSent<NumBytes)
360 res = send(s, buffer+numSent, NumBytes-numSent, 0);