|
| Copyright © Cloud Software Group, Inc. All Rights Reserved |
Transport creation calls accept two parameters that direct the transport to open two different kinds of sockets:
• The service parameter specifies a UDP service (also commonly called a UDP port); the transport opens a UDP socket to that network service.
• The daemon parameter specifies a TCP port number; the transport opens a TCP socket to that port.These two types of socket are not interchangeable; confusing the two leads to programming errors that are difficult to diagnose and repair.One source of this confusion is that the default rendezvous service (for TRDP daemons) is UDP service 7500, and the default daemon parameter is TCP socket 7500. Although these two numbers are the same, they specify different items.
|
| Copyright © Cloud Software Group, Inc. All Rights Reserved |