View Single Post
Old 07-31-2006, 03:58 AM   #18
lharts
Knows Where the Search Button Is
 
Join Date: Jun 2005
Model: 7230
Posts: 25
Default

the way i have it set up is as follows...

I have a checkbox that decides whether or not directTCP is used or not. the command is then

URL = "socket://" + _serverip + ":"+_PORT + (_useDirectTcpField.getChecked() ? ";deviceside=true" : "");

where _serverip is my server address, _PORT is the port number _useDirectTcpField is my checkbox.

the deviceside=true parameter is what specifies the use of directTCP instead of MDS service.

you can find more information in JDE Version 4.x (pg 88 of 4.1 volume1)

if you have any questions just ask!

Lharts
Offline