pharo: Also change the invocation of the code
This commit is contained in:
parent
54c4074b80
commit
104c521a1a
|
@ -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 [
|
SIPUdpTransportTest extend [
|
||||||
testSending [
|
testSending [
|
||||||
| target transp datagram read |
|
| target transp datagram read |
|
||||||
|
|
Reference in New Issue