Forum Discussion
Altera_Forum
Honored Contributor
14 years agoglobal TCP socket issue
Hi, I need a bit of help... I have started from the simple socket server example and because I need the connection information in a parallel task, I have moved the "static SSSCon conn"...
Altera_Forum
Honored Contributor
14 years agoGot it!
I should not feed any arguments to myTask, simply reference to the global ressource conn. Confusing was the fact that, when not fed as an argument, the structure is to be accessed asconn.fd instead of conn->fd (not clear why?)