The Trunk: Network-fbs.147.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Network-fbs.147.mcz

commits-2
Frank Shearar uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-fbs.147.mcz

==================== Summary ====================

Name: Network-fbs.147
Author: fbs
Time: 7 December 2013, 11:11:12.759 am
UUID: 63ed267a-8225-3049-980c-47cf93c60881
Ancestors: Network-fbs.146

Actually,  (a) point any possible user of the old example to the new example, and (b) update the comment in the new example.

=============== Diff against Network-fbs.146 ===============

Item was added:
+ ----- Method: SocketStream class>>finger: (in category 'example') -----
+ finger: userName
+ self error: 'Use SocketStream >> #finger:at:'.!

Item was changed:
  ----- Method: SocketStream class>>finger:at: (in category 'example') -----
  finger: userName at: aHostnameOrAddressString
+ "SocketStream finger: 'stp' at: 'example.com'"
- "SocketStream finger: 'stp'"
 
  | s |
  s := SocketStream openConnectionToHost: aHostnameOrAddressString port: 79.  "finger port number"
  Transcript show: '---------- Connecting ----------'; cr.
  s sendCommand: userName.
  Transcript show: s getLine.
  s close.
  Transcript show: '---------- Connection Closed ----------'; cr; endEntry.
  !