question about UDP socket

danil a. osipchuk danil-home at tsnet.ru
Tue Oct 12 12:35:47 UTC 2004


Hi, all
Can somebody give me a hint why this doesn't work(unix vm 3.6-3, FreeBSD)?:

dst _ Socket newUDP setPort: 55555.
src _ Socket newUDP.
src sendUDPData: 'a test' toHost:  (NetNameResolver localHostAddress)  
port:  dst port. " *primitive failed* here "
src closeAndDestroy.
buff _ Array new: 100.
dst receiveUDPDataInto: buff.
buff inspect.
dst closeAndDestroy.

Thank you in advance
Danil




More information about the Squeak-dev mailing list