>>Previously, I used a TUDPSocket component in D6, with some LAN Adapter ID
software (from Torry or Delphi3000) to help choose the NIC, MAC address, and
listening port (which is fixed), but that was very unstable and I had a lot
of problems with reliably connecting. But once I got "connected" (i.e. I
sent and received one packet) I could then use the MAC address of the
adapter to communicate with the module perfectly.

You said you'd take suggestions. I don't know all the pieces you described
in detail - so if this is jibberish, just disregard me my friend.

I use Synapse in a web server app, I know TCP is not your cup of tea for
this project, however, when I start up the server I get the socket fine for
my listener, but subsequent calls: e.g. Program exists and properly releases
the socket, then I fire server up again. 

... subsequent calls don't always get the socket and the call to synapse
fails. I finally just made a loop with a "millisecond delay" and a "Retry
Count" .. values that I can adjust in a config file. Now when my server
starts, it'll hammer that socket call until it get's a listener established
or eventually runs out of retries. Usually I only run out when there is
another instance running bound to the ip/socket I forgot about or something.
I could say my synapse listener or linux is unreliable, but I'm getting by
and like you Said - it's fine once I get it running.

--Jason


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to