The Java™ Tutorials
Enabling the SDP Protocol
Trail: Sockets Direct Protocol
Lesson: Understanding the Sockets Direct Protocol

Enabling the SDP Protocol

SDP support is disabled by default. To enable SDP support, set the com.sun.sdp.conf system property by providing the location of the configuration file. The following example starts an application using a configuration file named sdp.conf:

% java -Dcom.sun.sdp.conf=sdp.conf  ExampleApplication

ExampleApplication refers to the client application that is attempting to connect to the IB adaptor.

Note that this example specifies another system property, See the Issues section for more information about why this property is used.

Previous page: Creating an SDP Configuration File
Next page: Debugging SDP