Rob Shearman : rpcrt4: Use send on a socket instead of write as it' s more portable.