The following symbols are used to specify protocol type via the OPT_MY_PROTOCOL attribute of the SQLOP_SET_CONNATR function.
Symbol |
Value |
Notes |
---|---|---|
MYPROTO_DEFAULT |
0 |
default |
MYPROTO_TCP |
1 |
TCP |
MYPROTO_SOCKET |
2 |
Socket |
MYPROTO_PIPE |
3 |
Pipe |
MYPROTO_MEMORY |
4 |
Memory |