int serve_client()
{
+ if (!mcs_recv_connect_initial())
+ error("MCS_CONNECT_INITIAL recv failed");
+ mcs_send_connect_response();
+
for ( ;; ) {
short channel;
/* receive ISO packets */
mcs_recv(&channel);
+
+ printf("Packet on ch %u\n", channel);
}
}