infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
Sending Ack with Multi-Server
System
Originally posted by Marcus de Leon
Hi,
When I try to send an ACK back through a TCP/IP multi-server with the MLP PDL, it doesn't work. If I switch it to Server it works.
Any Ideas?
Thanks,
Marcus
Find more posts tagged with
Clovertech
Comments
jcobane1
Marcus,
You need to include some additional code in the ACK proc to tell Cloverleaf which port to send the ack back on, since there are multiple simultaneous connections.
carters
Your ACK proc has to be setup properly in order for ACK's to be returned. You'll need something like the following:
# If multiServer, the following metadata must be set
if { $multiServer } {
msgmetaset $obMsg DESTCONN [msgmetaget $mh ORIGSOURCECONN]
msgmetaset $obMsg SOURCECONN [msgmetaget $mh DESTCONN]
set driverCtl [msgmetaget $mh DRIVERCTL]
keylget driverCtl CONNID connID
keylset connIDKey CONNID $connID
msgmetaset $obMsg DRIVERCTL $connIDKey
}
msgset $obMsg $ACK
I use the same ACK proc for both server and multi-server. I just use an argument of {MULTI 1} to trigger the code for multi-server ack's.
Hope this helps!
Steve
System
Originally posted by Marcus de Leon
Great! Thanks!