Problems with synchronous channel / Most-Bus

Hi!

I have the problem, that the synchronous channel does not work. Asynchronous
and control channel work without any problem.
I only want to write a transceiver and receiver program, as simple as
possible; the transceiver should transmit a given textfile over the
most-bus, and the receiver should read the incoming data from most-bus and
write it into another textfile.
When I open the textfile, which was created by my receiver-program, I only
see Zero-Bytes (ASCII 0).

The docu describes how to allocate and start the stream, but at the
beginning of the chapter there is written:
“When an application wishes to receive data from the MOST bus, it must use
the NetServices API to discover the required channels and connect to these
channels.”
I must use this NetServices API. The library for this I found, but the
needed headerfile “netservices_qnx.h” does not exist (I searched for it in
the whole folder).

I have already tried to get an answer at “qnx.ddk”- newsgroup. There I get
the info to use “most_sync_out_connect”, which is not described in docu or
headerfiles; and only using
this command did not solved this problem. I think I must use
“most_sync_allocate” too, but it is only an assumption, and I have already
tried it. Or must I write a function to set the
routing engine, or connection manager?

So can anyone give me an answer to this?

Thanx, MOSTMASTER

Hello!

I received via mail the solution of the problem. See in newsgroup
ddk.

MOSTMASTER

This Commodore 64 scene style nicknames MOSTMAN and MOSTMASTER are kewl! :wink:

“MOSTMAN” <christian.richter@soft-gate-dot-de.no-spam.invalid> schrieb im
Newsbeitrag news:d71osj$bjt$1@inn.qnx.com

Hello!

I received via mail the solution of the problem. See in newsgroup
ddk.

MOSTMASTER