Re: Help Needed on ActiveX EXE winsock worker




"J" <mailserv@xxxxxxxxx> schrieb im Newsbeitrag
news:7ef13fe.0504251726.bea349a@xxxxxxxxxxxxxxxxxxxxx
> "Schmidt" <sss@xxxxxxxxx> wrote in message
news:<uXU6hFaSFHA.2932@xxxxxxxxxxxxxxxxxxxx>...
> > "J" <mailserv@xxxxxxxxx> schrieb im Newsbeitrag
> > news:7ef13fe.0504250509.6ac11df1@xxxxxxxxxxxxxxxxxxxxx


> However, it would be of great help if you could elaborate more
> or even better if you could provide few lines of sample code on it.

I've looked at the Class you mentioned - it's not possible with a few lines
of code, to make this work in a multithreaded AX-Exe-Environment.
But if you want to make a stable, multithreaded server wich is getting jobs
over different client-sockets, your workers don't have to contain the
transport-layer (the sockets). Simply let the listening serversocket and all
the clientsockets in the main-thread, isolate the jobs from the incoming
socket-requests, pass the job-data to your worker-threads, async start the
jobs inside the workers and pass the results back to the main-thread to send
them back over the right client-socket.

Olaf


.



Relevant Pages

  • checkbox with datagrid
    ... e.g in datagridthere are 10 rows of different jobs having ... checkboxes with all rows(in template column of datagrid). ... selected jobs to database. ... any small sample code in which just two records of datagrid and user ...
    (microsoft.public.dotnet.framework.aspnet)
  • allocating jobs to people based upon choice?
    ... I'm trying to build a system that has a table of possible jobs and a table ... I allocate a student to a job based upon their prefence (and a few other ... I'm sure I've seen some sample code that will automatically allocate one ...
    (microsoft.public.access.formscoding)