| Home | Previous Lesson: Transport Object Next Lesson: Transport Object Events |
The following is the list of transport object�s properties:
Application: Server Application Name.
Driver: The communication driver. It should be one of the WinSock, NamedPipes.
ErrCode: Error number
ErrText: Error message
Location: Same as the Connection object�s Location property
Options:
|
Option Name |
Description |
Restrictions |
|
BufSize |
Specifies the buffer size. |
WinSock driver only |
|
MaxListening-Threads |
Max. number of allowed threads. Please note that each user application can have multiple connection objects which means each client application can create multiple threads. |
|
|
NoDelay |
Specifies that send each packet with no delay between each packet. The default is 1. I don't think you ever want to change this option. |
WinSock driver only |
|
RawData |
Specifies that the data should be passed in raw format. It defaults to 1. I think it is better to leave this option to default for two reasons, reason one being performance and the second one is good when the client and server are located on different platforms. |
|
|
ThreadPooling |
Setting this option to 1 causes PowerBuilder to create a pool of threads that expands and contracts according to the number of client connections. |
TimeOut: Specifies the number of seconds a connection can remain idle before being disconnected.
Trace: Has all Trace options of Connection object with the following additional options:
|
DumpArgs |
Logs argument details for each function/event calls. |
|
WebPB |
Logs all WebPB server activity. |
|
All other options are exactly same as the Connection object Trace options. |
| Home | Previous Lesson: Transport Object Next Lesson: Transport Object Events |