|Top Previous Next|
This property is irrelavant when the sock.protocol= PL_SOCK_PROTOCOL_UDP (UDP). If you do not set this property directly, it's value will be:
0- NO: for all outgoing connections (active opens) of the socket.
0- NO: for incoming connections received on one of the ports from the sock.localportlist list.
1- YES: for incoming connections received on one of the ports from the sock.httpportlist list.
You can manually switch any TCP connection at any time after it has been established from "regular" to HTTP by setting sock.httpmode= 1. However, this operation is "sticky"- once you have converted the TCP connection into the HTTP mode you cannot convert it back into the regular mode- trying to set sock.httpmode=0 won't have any effect- the TCP connection will remain in the HTTP mode until this connection is closed.