Thread (2 messages) 2 messages, 2 authors, 2002-07-23

Problems with UI frame reception

From: James Cutler <hidden>
Date: 2002-07-23 04:35:21

Hello,

I'm working with UI frames and am having problems with receiving UI
frames.  I've written a simple send and recieve pair.  The send software
seems correct as monitored by the "listen" program.  But the receiver is
working as I expect.

First, I have to call "connect" (in addition to creating and binding the
socket) on the receive socket for anything to be received.  And then it
only receives packets from the socket I "connected" to.  Which makes sense
but I'm confused why I need to "connect" a receive socket?

Second, the packets I do receive are missing the first byte.  The first
byte is cut off.

I'm running kernel 2.4.19-rc2 with libax25-0.0.10.

Any suggestions?

Thanks.

--James

PS...I've hacked up "listen.c" code to do this but that uses SOCK_PACKET.
It would be much cleaner to us DGRAMs but I'm having this reception
issues.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help