smalltalk
/
osmo-st-sip
Archived
1
0
Fork 0

pharo: Also change the invocation of the code

This commit is contained in:
Holger Hans Peter Freyther 2015-07-27 10:17:47 +02:00
parent 54c4074b80
commit 104c521a1a
1 changed files with 13 additions and 0 deletions

View File

@ -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 |