Skip to main content

talk to another peer

1 reply [Last post]
vimal2007
Offline
Joined: 2007-03-22

i am facing problems wen i talk to another peer.wen i type the talk command,it shows:

JXTA>talk
# talk - Talk to another peer
Usage: talk -[r]egister [-[s]ecure | -[p]ropagate]
talk -[l]ogin
talk -[lo]gout
talk -[u]
talk -search || -f
JXTA>talk -login myusername
JXTA>talk -u myusername myfriendusername
.....................
# talk - User 'myfriendusername' is not a registered.

Can anyone help me?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
chrisdekock
Offline
Joined: 2007-03-07

Remember that you AND your friend should register usernames for talk before login:
======YOU==============
JXTA>[b]talk -r myusername[/b]
# talk - Creating pipe named :myusername of type :JxtaUnicast
.....................
# talk - User 'myusername' is now registered
JXTA>talk -l myusername
JXTA>talk myfriendusername
# talk - Found advertisement for 'myfriendusername'. Attempting to connect
# talk - Connection established to user myfriendusername
# talk - Type your message. To exit, type "." at beginning of line
========================

==============YOUR FRIEND============
JXTA>talk -r myfriendusername
# talk - Creating pipe named :myfriendusername of type :JxtaUnicast
.....................
# talk - User 'myfriendusername' is now registered
JXTA>talk -l myfriendusername
=====================================