next up previous contents
Next: Sample Code Up: The Client Previous: CtoCconnection   Contents


CtoSconnection and GossipClient

Trace of output during client startup:
# ./gossipClient 
Connecting to: localhost
Msg received: serverlist
Connecting to: 131.111.229.175
EventCount:3 0
IPaddr:131.111.229.175
Name:Nathan Dimmock
Port:2003
Status:Online
UserID:1
ipaddr:131.111.229.175
msgtype:UserInfo
version:0.1
testing event count: 4 0

Message received: 
UserID:1
contactlist:  1 0 <UserInfo><UserID>2</UserID>
<EventCount>1 0</EventCount></UserInfo>
contactlist:  1 0 <UserInfo><UserID>3333</UserID><Name>Nathan Dimmock</Name>
<EventCount>1 0</EventCount></UserInfo>
ipaddr:131.111.229.175



Nathan Dimmock 2001-06-20