Re: Recvfrom
Re: Recvfrom
- Subject: Re: Recvfrom
- From: Justin Walker <email@hidden>
- Date: Sun, 9 Feb 2003 12:09:47 -0800
On Sunday, Feb 9, 2003, at 11:35 US/Pacific, Scott Minter wrote:
I am learning socket programming and reading W. Richard Stevens
currently so I'm a novice.
You've chosen the right book to learn from.
I am performing a recvfrom on a socket and the data I transmitted is
being received.
But, when I check the socket again, the same data is still there - so
my program is in a loop thinking it is always receiving when in fact
only one packet was transmitted. Can someone point me in the
direction of my error?
It's hard to provide a definitive answer without seeing what's going
wrong. Verbal descriptions of this kind of problem leave a lot to be
desired. You don't need to post a full-blown program, but if you can
get a smallish code snippet that shows the problem, someone should be
able to provide guidance.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | It's not whether you win or
lose...
| It's whether *I* win or lose.
*--------------------------------------*-------------------------------*
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.
References: | |
| >Recvfrom (From: Scott Minter <email@hidden>) |