Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Jeff Jenkins <email@hidden>
- Date: Thu, 18 May 2006 09:16:45 -0700
Hi,
How do you know that the peer you are connected to is writing data? You state that when you telnet to the socket, that select() breaks out of it's wait state. So, this would seem to say that the peer you are connected to isn't writing data, and thus not triggering select() to break.
You can use tcpdump to watch the traffic on the wire and see what is really coming from the peer you are connected to. My guess is that you won't see a connect followed by streams of data, which is what appears you are expecting to happen. To make that happen, you had to get telnet involved. It pushed data, and caused select() to fire.
Hope that helps some!
-- jrj |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden