summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-07-27 10:17:47 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-07-27 10:17:47 +0200
commit104c521a1a6cfe4d7ad22c6de0393bcb26dcc10c (patch)
tree8131803cd38e0db30d1bbc30f0ee029a8ba6a373
parent54c4074b809d40b89a19c9724f6b2367d1f9c673 (diff)
pharo: Also change the invocation of the codeHEADmaster
-rw-r--r--pharo-porting/changes_for_pharo.st13
1 files changed, 13 insertions, 0 deletions
diff --git a/pharo-porting/changes_for_pharo.st b/pharo-porting/changes_for_pharo.st
index 0247740..b7059fe 100644
--- a/pharo-porting/changes_for_pharo.st
+++ b/pharo-porting/changes_for_pharo.st
@@ -189,6 +189,19 @@ SIPDigest class extend [
]
]
+SIPUdpTransport extend [
+ initialize: anAddress port: aPort [
+ self flag: #todo. "Cant select which interface to bind to..."
+ socket := Socket newUDP
+ setPort: aPort;
+ yourself.
+ net := OsmoUDPSocket new
+ name: 'SIPTransport';
+ onData: [ :data | self handleData: data ];
+ yourself
+ ]
+]
+
SIPUdpTransportTest extend [
testSending [
| target transp datagram read |