From: James Cutler (fkknc.kdejidn@kvh.co.jp)
Date: Tue Jul 23 2002 - 07:35:21 EEST
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to zasnplv.srdzsei@donatos.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b30 : Tue Jul 23 2002 - 07:38:21 EEST