Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to read a set of lines

 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In the above code,i am originating(dialing) a mobile number by using originate command.If once the call is originated, a set of events will be generated.I am reading those generated events by using the



But I have to use the above inside a while loop.then only,i can able to read all the lines.without while loop,I can able to read only a single line.If i use while loop,I am unable to break the while loop and continue the whole program.

The issue i have to solve is,I have to read all the lines of the generated events and i have to dial the numbers continuously.

Please assist me to solve this while loop issue.If i am not clear,I will explain more.

Thanks




 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is likely unrelated to the issue at hand, but the code has a lingering bug: Don't println to a Socket
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic