Lines Matching refs:reply
150 // get the server reply
151 ConnectReply reply;
152 error = channel->Receive(&reply, sizeof(ConnectReply));
155 error = B_BENDIAN_TO_HOST_INT32(reply.error);
158 upStreamChannels = B_BENDIAN_TO_HOST_INT32(reply.upStreamChannels);
159 downStreamChannels = B_BENDIAN_TO_HOST_INT32(reply.downStreamChannels);
160 port = B_BENDIAN_TO_HOST_INT16(reply.port);
266 // send the reply
267 ConnectReply reply;
268 reply.error = B_HOST_TO_BENDIAN_INT32(B_OK);
269 reply.upStreamChannels = B_HOST_TO_BENDIAN_INT32(upStreamChannels);
270 reply.downStreamChannels = B_HOST_TO_BENDIAN_INT32(downStreamChannels);
271 reply.port = addr.sin_port;
272 error = channel->Send(&reply, sizeof(ConnectReply));
350 ConnectReply reply;
351 reply.error = B_HOST_TO_BENDIAN_INT32(error);
352 return channel->Send(&reply, sizeof(ConnectReply));