Author Topic: how to get UDP string in main loop  (Read 2712 times)


  • Newbie
  • *
  • Posts: 2
    • View Profile
how to get UDP string in main loop
« on: May 05, 2013, 07:19:28 PM »
Hope I am in the right forum.

I am looking  at the wesrvr65 code right now and I am trying to figure out how to get a string I send from the netix UDP terminal in the main superloop. I send data to the terminal (port 54125)
I am not quite familiar with the Modtronix stack. Is there a particular buffer or function that I can call inside ProcessIO in order to get the data from UDP for consumption in the main program

Can smb show a quick code example of how one would get a string or char in the main loop. Right now I have connected one laptop to the ethernet port and another one to the serial port.

If I send data to the terminal it does not show up on the RX ISR so that's what confuses me??

any help is appreciated



  • Administrator
  • Hero Member
  • *****
  • Posts: 564
    • View Profile
Re: how to get UDP string in main loop
« Reply #1 on: August 01, 2013, 06:31:37 PM »
Hi, go to the online documentation, and select "Examples" in the left menu. There are quite a couple of UDP examples. The documentation is here: