Missing incoming data using select()

2001-07-26 Thread Michael Owens
I have a server that uses non-blocking I/O, and consists of a process which listens and calls accept(), and passes the accepted file descriptors down to child processes for handling the client connection. Currently, it uses select(), though I plan to rewrite it using kqueue. The problem I have

FIN_WAIT_2 / TIME_WAIT Confusion

2001-01-08 Thread Michael Owens
If this is not proper place to ask this, let me know and I'll go elsewhere as it is a TCP question. . . but I specifically use (and prefer) FreeBSD. I wrote a simple little I/O multiplexing thing that can act as a client or server as a personal project in network programming. Everything seems f

dlopen()

2000-09-04 Thread Michael Owens
I am trying an example I got from a magazine originally written for Linux which dynamically loads shared libraries and instantiates C++ classes within them. Being a recent FreeBSD convert, I intended to run this example on it. However, I am having a problem. I did read the man page for dlopen(),

R. Stevens select() Collisions Scenario

2000-08-10 Thread Michael Owens
Purpose: I am trying to write a non-blocking, preforked server, specifically to run on FreeBSD, and have a general question as to whether or not my strategy is sound. Problem: In Unix Network Programming Vol. 1 (section 27.6, p.741), Stevens mentions a scenario under a preforked server design