r_bharose
9th September 2004, 15:29
Hi,

I would like to know if there is a event associated with "recv.message".

If I use recv.message function in a loop, the process consumes most of the time of bshell hence the other processes become very slow.

Thanks
Ram

maverick4u
13th September 2004, 12:08
What exactly are you tryin to acheive over here. Aint sure about the event
but you can specify themaximum waiting time for recv.message..

r_bharose
16th September 2004, 10:56
I am writing a small listener in Baan IV, which I will be able to communicate with using mailslot protocol.

I am successful in doing this.

When the call to function is executed the other sessions in the same bshell stop responding. I want to find a way to keep running the process which calls recv.message, without affecting performance of the other sessions(processes).

Ram

NPRao
16th September 2004, 19:09
Ram,

can you post the code ? which mode are you executing ?

We had single process executions for our socket programs running in a batch/automation modes without UI/Worktop and we have the fix from BaaN in the latest porting sets.

MaintReger: # 21528 (BDUX14520): schedule not working correctly when using
sockets and direct starting of the session
Date: Thu, 19 Feb 2004 15:18:58 +0100
Created on: MaintCorelli
Type: bugfix

Problem Description (Customer terms)
When starting a "server" program with the -server option of the bshell it seems
that only one process gets ticks from the bshell. The server listens on a socket
for connections, based on this info a slave is started. when a new connection is
made the server is does not see this untill the first slave is finished. when
starting the server from the user interface it is working fine.

Workaround
start the server from the User interface.