sim: dv-sockser: add a write buffer variant
authorMike Frysinger <vapier@gentoo.org>
Tue, 16 Nov 2010 19:10:29 +0000 (19:10 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 16 Nov 2010 19:10:29 +0000 (19:10 +0000)
commit6ab5626b08f37bc5b84c67d0f25e363e0ab0180e
treef0fb7655dd741470c3f88e3e4c8f625c01908232
parent6fc6ea198c7feb48e378a490f5d227d625a340e4
sim: dv-sockser: add a write buffer variant

Rather than having to bang out chunks of data one byte at a time over
the socket interface, add a write variant that accepts an arbitrarily
long buffer.  This speeds things up considerably when we have many
chars to send out at once.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
sim/common/ChangeLog
sim/common/dv-sockser.c
sim/common/dv-sockser.h