View Single Post
  #9   Spotlight this post!  
Unread 26-03-2013, 19:48
evinugur evinugur is offline
Registered User
FRC #1073
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: US
Posts: 13
evinugur is an unknown quantity at this point
Re: Difficulties in Sending UDP Data in a NetConsole Implementation

Quote:
Originally Posted by gluxon View Post
Got it working. You need to end packets with "\r\n".
Ahhh, thank you! I was pulling out hairs trying to figure this out and was getting superstitious enough to open datagram.js

I never would've though of the rollback character, but I completely forgot that the readline method takes the string up until enter is pressed...

I'll add this in to the codebase, and update a finished version to npm. Thank you very much for your help!