summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@1ts.org>2009-04-27 14:57:49 +0000
committerGravatar Karl Ramm <kcr@1ts.org>2009-04-27 14:57:49 +0000
commit255977c221eb20577ca9df6090fea2d10a117426 (patch)
tree88f0296b0083c1007536062798cd1201a45e3291 /debian
parenta63a88619864c9236e595fb70cd3b880e4c51de4 (diff)
Set up a local UDP socket to drive testing
Using socketpair doesn't work because you end up with an AF_UNIX socket, and it even if you _can_ use sendto with anonymous unix-domain sockets (which the documentation is mute on and it doesn't seem worth experimenting on), the zephyr library doesn't allocate enough storage for a sockaddr_un, and although I'm not above fixing that, I determined that for structural reasons it's too annoying right now. (But once we have a test suite...) Anyway, cons up a udp socket, and extract a port number from the library, and use the python socket interface to send the zephyr packet.
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions