diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-07-16 08:02:55 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-07-16 08:02:55 +0200 |
commit | c3f7517f6e3b1f81b111c63db7b9db617f584fb3 (patch) | |
tree | 6ef70dddb04871dee66912656e01d47406eae28a | |
parent | 8146afd9f63ef3823166b8d79d18f2885f567229 (diff) |
pharo: Add missing file and fix the SMPPConnection>>#createConnection
We want to deal with bytes and don't get the read timeouts!
-rw-r--r-- | pharo-porting/changes_for_pharo.st | 10 | ||||
-rw-r--r-- | pharo-porting/compat_for_pharo.st | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/pharo-porting/changes_for_pharo.st b/pharo-porting/changes_for_pharo.st new file mode 100644 index 0000000..02425de --- /dev/null +++ b/pharo-porting/changes_for_pharo.st @@ -0,0 +1,10 @@ + +SMPPConnection extend [ + createConnection: aHostname port: aPort [ + <category: 'socket'> + ^(SocketStream openConnectionToHostNamed: aHostname port: aPort) + binary; + noTimeout; + yourself + ] +] diff --git a/pharo-porting/compat_for_pharo.st b/pharo-porting/compat_for_pharo.st new file mode 100644 index 0000000..460e658 --- /dev/null +++ b/pharo-porting/compat_for_pharo.st @@ -0,0 +1 @@ +"Compat code for Pharo" |