Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!samsung!uunet!dove!coleman From: coleman@bldrdoc.gov (Sean Coleman 497-5672 ) Newsgroups: comp.unix.questions Subject: using connect for a udp server Message-ID: <740@dove.nist.gov> Date: 1 Jul 91 03:49:49 GMT Sender: news@dove.nist.gov Organization: National Institute of Standards and Technology Lines: 18 I am in the process of learning how to do network programming and am using Steven's book Unix Network Programming. He mentions in his book that one can use connect and then not have to use the recvfrom and sendto system calls and instead, can use send and recv. My question is this: I can see how the client program can do this since their exist only "one" server address that the client can connect to. How would the server program be able to use recv and send instead of recvfrom and sendto in a udp program since the server never knows what machine will be calling? Can the server use those system calls or must it use sendto and recvfrom? Thanks Sean Coleman NIST .