diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-07-27 10:17:47 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-07-27 10:17:47 +0200 |
commit | 104c521a1a6cfe4d7ad22c6de0393bcb26dcc10c (patch) | |
tree | 8131803cd38e0db30d1bbc30f0ee029a8ba6a373 | |
parent | 54c4074b809d40b89a19c9724f6b2367d1f9c673 (diff) |
-rw-r--r-- | pharo-porting/changes_for_pharo.st | 13 |
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 | |