Hi Murphy, Wow! That was quick :) Which is the default port for the non-JSON messenger?
-Neha On Tue, Aug 7, 2012 at 2:42 PM, Murphy McCauley <[email protected]>wrote: > On Aug 7, 2012, at 2:05 AM, Neha Jatav wrote: > > *I rectified it by adding the files *.pem from the previous messenger > folder to the one provided by you. Can you please verify if this will work > fine.* > > > Yeah, should be fine, especially if you're not planning to use SSL. > > I want to create an external JAVA application that will send JSON objects > over TCP (port 2703). I was wondering if something like DataStreamOutput > will work for the sender side? Will the JSON messenger in NOX be able to > respond to the messages sent in that way? > > > No, because those won't be JSON messages. json.org has some Java code to > construct JSON messages. And there's json-simple. And google-gson... > > Though if you don't care about JSON, it might even be easier to just use > the non-JSON messenger... I think you'll be able to create appropriate > messages with DataOutputStream fairly easily. > > -- Murphy > >
