On Mon, Sep 10, 2001 at 01:32:45PM -0400, Omid Roshan-Afshar wrote:
> Alright, thanks alot. Is there a temporary work-around?
Use blocking sockets ;-)
Otherwise, try a developers snapshot of Cygwin.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Dev
Alright, thanks alot. Is there a temporary work-around?
On Mon, 10 Sep 2001, Corinna Vinschen wrote:
> On Mon, Sep 10, 2001 at 11:38:40AM -0400, Omid Roshan-Afshar wrote:
> > I've looked through the archive, and I found
> > some discussion about using accept() on non-blocking
> > sockets, but no
Here is a simple version of what I'm doing:
/* Start of source code */
#define FAIL (1)
{
int sock_handle;
char errmsg[1024];
int sockAddrSize;
struct sockaddr_in serverAddr;
char *address;
int port;
int true;
true = 1;
address = "127.0.0.1";
port = 5001;
sock_handle = s
On Mon, Sep 10, 2001 at 11:38:40AM -0400, Omid Roshan-Afshar wrote:
> I've looked through the archive, and I found
> some discussion about using accept() on non-blocking
> sockets, but none on recv(). If someone could spot
> any stupid errors in the following code, that would
> be great.
>
> {
Hi!
Monday, 10 September, 2001 Omid Roshan-Afshar [EMAIL PROTECTED] wrote:
ORA> I've looked through the archive, and I found
ORA> some discussion about using accept() on non-blocking
ORA> sockets, but none on recv(). If someone could spot
ORA> any stupid errors in the following code, that would
I've looked through the archive, and I found
some discussion about using accept() on non-blocking
sockets, but none on recv(). If someone could spot
any stupid errors in the following code, that would
be great.
{
int true = 1;
if (ioctl(sock_handle, FIONBIO, &true) != 0) {
if (err