Bennis Zhang Posted September 17, 2014 Share Posted September 17, 2014 I am try to develop a UDP server which is able to receive the UDP packet from devices.But there is no any response in the program.I don't know how to use ReceivedFromNetwork().Any comments? Link to comment Share on other sites More sharing options...
msgreenf Posted September 17, 2014 Share Posted September 17, 2014 Pretty sure this already exists...look around Link to comment Share on other sites More sharing options...
RyanE Posted September 17, 2014 Share Posted September 17, 2014 There is no way in DriverWorks to create a listening UDP socket. The UDP support in DriverWorks only works if the device is the listener, and that it responds on the (random) UDP port that the driver initially sends on. It does not work if the UDP port received by Director must be a specific UDP port. It's one of the limitations of UDP functionality within DriverWorks. RyanE Link to comment Share on other sites More sharing options...
Bennis Zhang Posted September 18, 2014 Author Share Posted September 18, 2014 Thank you RyanE.I wanna know whether DriverWorks is able to receive broadcast packet.Because we do need to confirm whether the device received the packet, is there any work around about it? Link to comment Share on other sites More sharing options...
RyanE Posted September 18, 2014 Share Posted September 18, 2014 I don't believe DriverWorks can receive a broadcast packet, other than those that Director handles itself (SDDP, etc.). I don't know of any workaround to that. Sorry. RyanE Link to comment Share on other sites More sharing options...
Bennis Zhang Posted September 19, 2014 Author Share Posted September 19, 2014 Thanks for your information, it is useful to me. Link to comment Share on other sites More sharing options...
Bennis Zhang Posted October 16, 2014 Author Share Posted October 16, 2014 Can I assign the sending port No.? Link to comment Share on other sites More sharing options...
RyanE Posted October 22, 2014 Share Posted October 22, 2014 In DriverWorks, you can only assign the port the driver is connecting *to*, not *from*. RyanE Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.