[Oz] Open.socket, receive

Frank Rehberger frehberg at cs.tu-berlin.de
Sun Feb 11 13:19:55 CET 2001


hello,

I'm using the Open.socket object, and every time I'm doing a receive as
shown in the code below my home-pc opens a phone-connection to my provider
to contact the DNS.

Server = {New Open.socket init(type: datagram
                               protocol: udp) $}
{Server bind()}  %% any port
Len = {Server receive(list:Data host:_ port:_ len:$)}

Doing the same with Python, the DNS is not involved. 

How can I avoid the DNS-interrogation in Mozart-Oz?
(I dont want to set up a DNS at home)

thanks, frank

---------------------------------------------------
 Frank Rehberger <frehberg at cs.tu-berlin.de>
---------------------------------------------------
 "Global order can arise from local interactions."
 [A.Turing, 1952]
---------------------------------------------------

-
Please send submissions to users at mozart-oz.org
and administriva mail to users-request at mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.





More information about the mozart-users mailing list