views:

50

answers:

1

This may sound ridiculous but I need to send something like <policy-file-request/> followed by a nul byte from a terminal to a XML socket server.
I am using PUTTY but I tried all sorts of combinations like \0 or /0 or \u0000 but to no avail.
I'm wondering if there is a specific key combination for this or am I messing up somewhere?

+2  A: 

It depends on what PuTTY is emulating (different emulators might map it differently) but it's typically ^@ -- that is, Ctrl + @.

John Feminella
Well I have clicked RAW data in PUTTY. I don't know what kind of emulator is that? I will try this command though.
Kevin Boyd
Well Ctrl + @ worked for me thanks, Phew! that was quite a struggle. ;)
Kevin Boyd