forked from svenvc/zinc
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #59: now pass timeout along to SocketStreamSocket
- Loading branch information
1 parent
15dc80d
commit f734652
Showing
3 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
14 changes: 7 additions & 7 deletions
14
...itory/SocketStream.package/SocketStream.class/class/openConnectionToHost.port.timeout..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
as yet unclassified | ||
openConnectionToHost: host port: portNumber timeout: timeout | ||
| socket | | ||
socket :=SocketStreamSocket newTCPSocket. | ||
socket connectTo: host port: portNumber. | ||
^(self on: socket) | ||
timeout: timeout; | ||
yourself | ||
openConnectionToHost: host port: portNumber timeout: timeoutSeconds | ||
| socket | | ||
socket := SocketStreamSocket newTCPSocket. | ||
socket connectTo: host port: portNumber timeout: timeoutSeconds. | ||
^ (self on: socket) | ||
timeout: timeoutSeconds; | ||
yourself |
2 changes: 1 addition & 1 deletion
2
repository/SocketStream.package/SocketStream.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters