This forum is for sharing information about SiTCP. Please do not hesitate to post any questions, comments or answers within the scope of this purpose.
Connection of SiTCP with C-sockets
I am trying to work out whether I can use SiTCP (with the eval. license) with C-sockets (and 0-MQ STREAM) and what the exact procedure is. Therefore I have a set of questions:
1) I see that SiTCP has the following TCP ports to handle the communication (tcp_open_req, tcp_open_ack, tcp_close_req, tcp_close_ack) however open_req in all the example designs is tight to 1'b0. Having, this tight to 1'b0 makes me think that SiTCP can only act as a TCP server (binds only) and cannot be used as client (connect). Therefore is there a way I can bind my C-socket server to a specific port and then have SiTCP connect to it?
2) I am a bit puzzled regarding the TCP rx word count port being an input. I mostly need to use SiTCP to stream data out of the system and only receive commands to either re-send or drop a packet back into my FPGA. So from the documentation (SiTCP manual) I don't understand whether the word count is needed for the reception functionality of SiTCP or for the transmission. Also, I am not quite sure how this information is being used, can you please provide some more clarification about it?
3) Finally, is there a specific configuration of the C-socket I need to use to ensure that once the connection is open the software isn't requesting for the connection to close?
Thanks a lot in advance,