COMOPEN Examples
Example 1:
|
|
|
|
|
|
|
|
|
|
|
|
This example opens COM2 at 2400 baud, 8 bits, no parity and 2 stop bits.
Example 2:
|
|
|
|
|
|
|
|
|
|
|
|
This example opens socket number 1080 using the supplied address in cooked mode.
Example 3:
|
|
|
|
|
|
|
|
|
|
|
|
This example creates socket number 220 using the supplied host name in raw mode.
![]() |