equal
deleted
inserted
replaced
138 ! |
138 ! |
139 |
139 |
140 hostName:name |
140 hostName:name |
141 "get a new instance given a hostname" |
141 "get a new instance given a hostname" |
142 |
142 |
143 ^ self hostName:name serviceName:nil type:nil |
143 ^ self hostName:name serviceName:nil type:nil. |
|
144 |
|
145 "Modified: / 17-06-2009 / 15:25:42 / sr" |
144 ! |
146 ! |
145 |
147 |
146 hostName:name port:portNr |
148 hostName:name port:portNr |
147 "get a new instance given a hostname and port" |
149 "get a new instance given a hostname and port" |
148 |
150 |
172 IPSocketAddress hostName:'localhost' serviceName:'echo' type:nil |
174 IPSocketAddress hostName:'localhost' serviceName:'echo' type:nil |
173 IPSocketAddress hostName:'www.google.com' serviceName:'http' type:nil |
175 IPSocketAddress hostName:'www.google.com' serviceName:'http' type:nil |
174 SocketAddress allForHostName:'localhost' serviceName:10 type:#stream. |
176 SocketAddress allForHostName:'localhost' serviceName:10 type:#stream. |
175 SocketAddress allForHostName:'www.google.com' serviceName:10 type:#stream. |
177 SocketAddress allForHostName:'www.google.com' serviceName:10 type:#stream. |
176 " |
178 " |
|
179 |
|
180 "Modified: / 17-06-2009 / 15:25:35 / sr" |
177 ! |
181 ! |
178 |
182 |
179 new |
183 new |
180 |numBytes| |
184 |numBytes| |
181 |
185 |
726 ! ! |
730 ! ! |
727 |
731 |
728 !SocketAddress class methodsFor:'documentation'! |
732 !SocketAddress class methodsFor:'documentation'! |
729 |
733 |
730 version |
734 version |
731 ^ '$Header: /cvs/stx/stx/libbasic2/SocketAddress.st,v 1.30 2009-06-10 17:15:02 mb Exp $' |
735 ^ '$Header: /cvs/stx/stx/libbasic2/SocketAddress.st,v 1.31 2009-06-17 16:26:13 sr Exp $' |
732 ! ! |
736 ! ! |