AnsweredAssumed Answered

RTCS stream socket - Question about fixing the sorce port by using connect()/setsockopt()

Question asked by CaesarI on May 22, 2014
Latest reply on Jun 2, 2014 by Garabo

Hi everybody,

 

normally when we use RTCS to open a TCP connection as a client, we use the RTCS API to do this. (and it works fine)

We set the communication port (80 - http) and the API act, as we expect...

 

Now I have to open one and better more TCP connections as well using the same source port (destination port is 80 - http - as well).

 

I did'nt found any socket option or other way to do this. Is'nt it possible?

 

How to fix the the sorce port by using connect()/setsockopt()?

 

best regards,

 

Caesar

 

PS: MQX 3.8, 4.0, 4.1

Outcomes