Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Detect STX and ETX hex in received string

by kcott (Chancellor)
on Nov 29, 2012 at 05:38 UTC ( #1006157=note: print w/replies, xml ) Need Help??


in reply to Re^2: Detect STX and ETX hex in received string
in thread Detect STX and ETX hex in received string

I'd say that's a matter of interpretation. I did consider the situation where no ETX existed; however, jagexCoder wrote "... packets of interest that are within STX and ETX endings.". Accordingly, I coded for STX and ETX to always be present. Perhaps wait for the OP to clarify this.

[Aside: You appear to have removed the original typo, so I don't know what you're apologising for. Regardless, I accept your apology. :-) ]

Update: Oh dear! Having posted this, I see I've also introduced a typo such that it made no sense.
s/Perhaps wait for to OP can clarify this./Perhaps wait for the OP to clarify this./

-- Ken

Replies are listed 'Best First'.
Re^4: Detect STX and ETX hex in received string
by ColonelPanic (Friar) on Nov 29, 2012 at 06:30 UTC
    Fair enough, I suppose it is a matter of interpretation.


    When's the last time you used duct tape on a duct? --Larry Wall

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006157]
help
Chatterbox?
[Discipulus]: use Dynamite; Lady_Aleena
[Lady_Aleena]: That's the problem. I have 29 scripts, 3 modules, and gads of data I am thinking about deleting out of anger over an API change that made all of those things worthless.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2017-05-25 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?