Explorer ethernet
Posted: Sun Nov 06, 2016 11:39 am
Hello everyone!
I'm quite new to this development platform and I am currently in the process of digesting it.
I'm trying to make an simple app that speaks udp. I have had no issue writing this app running in a single thread other than performance/blocking issues that I want to remedy by splitting the app onto two cores due to the asyncronous nature of the x32 - One receive core and one send core.
My app should open an udp connection to a 3'rd party hardware (x32) and the x32 will respond to requests on the same port that was used to send the request from the Explorer. Due to this I can't setup a separate listener on some fixed port.
The problem I'm having is understanding how the recv-core should bind to the socket opened in the send-core.
Also, can I have two xtcp_event() selects - one in each core - for the same connection or would the first responder effectively disable the other one?
Btw, is there a way to disable the info/debug(?) output from xtcp when using dhcp/auto-discovery on the console?
I'm quite new to this development platform and I am currently in the process of digesting it.
I'm trying to make an simple app that speaks udp. I have had no issue writing this app running in a single thread other than performance/blocking issues that I want to remedy by splitting the app onto two cores due to the asyncronous nature of the x32 - One receive core and one send core.
My app should open an udp connection to a 3'rd party hardware (x32) and the x32 will respond to requests on the same port that was used to send the request from the Explorer. Due to this I can't setup a separate listener on some fixed port.
The problem I'm having is understanding how the recv-core should bind to the socket opened in the send-core.
Also, can I have two xtcp_event() selects - one in each core - for the same connection or would the first responder effectively disable the other one?
Btw, is there a way to disable the info/debug(?) output from xtcp when using dhcp/auto-discovery on the console?