--- In [email protected], "Paul Herring" <[EMAIL PROTECTED]> wrote: > > On Wed, Aug 27, 2008 at 3:13 PM, John Matthews <[EMAIL PROTECTED]> wrote: > > > Any help gratefully accepted... > > Run tcpdump on the two interfaces - see what's going out/coming back?
Thanks Paul, but problem solved. The original client code I copied used bcopy() to set up the the server address, which I converted into a memcpy(). But I didn't realise that in bcopy() the arguments are ordered source, target, count. So by just changing bcopy to memcpy (not changing the argument order) I ended up setting the address to garbage, which didn't matter when client and server were on the same machine, but does now they aren't. Doh :-) John
