Re: How can I make a PERFECT RE-USABLE SOCKET ?



Then.. Is there any function that can detect it? (T-T)...


--
( NOVICE )
Student~
Seoul. Korea.


"Arkady Frenkel" wrote:

> You can only decrease registry value TcpTimedWaitDelay ( which is not
> recommended way because it's common parameter for all winsock )
> Arkady
>
> "Novice" <Novice@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:E4356583-F456-4FE7-9127-5E78CC014AF2@xxxxxxxxxxxxxxxx
> > Subject : How can I make a PERFECT RE-USABLE SOCKET ?
> >
> >
> >
> > I have some problems to make a network component.
> >
> > It is a "TIME_WAIT" state on client socket.
> >
> > When the socket is in "TIME_WAIT" state, it cannot connect into any remote
> > server.
> >
> > How can I avoid "TIME_WAIT" state?
> >
> > Or, is there any function that can check a socket in "TIME_WAIT" or not ?
> >
> >
> >
> > I disconnect all sessions using "DisconnectEx" function for re-using
> > socket.
> >
> > And, all sockets are pre-binded.
> >
> > There are no problem when I disconnect client from server.
> >
> > But, client disconnects itself and then socket falls in "TIME_WAIT" state.
> >
> > I tryed to remove that state, but I can't. (failed..all)
> >
> > I applied handshaking routine, LINGER option and changing into blocking
> > mode..
> >
> > As you know, TIME_WAIT state's duration is so~~~~ long!!
> >
> > So, I want to know, how to check it or avoid it. ( TIME_WAIT state )
> >
> >
> >
> > --
> > ( NOVICE )
> > Student~
> > Seoul. Korea.
>
>
>
.



Relevant Pages

  • Re: How can I make a PERFECT RE-USABLE SOCKET ?
    ... Korea. ... "Alexander Nickolov" wrote: ... >> Seoul. ...
    (microsoft.public.win32.programmer.networks)
  • Re: For the first time ever: A Bris in South Korea
    ... is the son of the Chabad emissary in Seoul, Rabbi Asher Litzman. ... I've lived in Korea and I was pleasantly surprised to see Korean books ... midrashic literature and "Jewish wit" and what have you. ...
    (soc.culture.jewish.moderated)
  • Re: How can I make a PERFECT RE-USABLE SOCKET ?
    ... RegQueryValueused to read registry ... Arkady ... >>> Seoul. ...
    (microsoft.public.win32.programmer.networks)
  • Seoul sees signs of second N Korea test
    ... Seoul sees signs of second N Korea test ... Amid a flurry of diplomatic meetings and reports that China has already ... begun taking tough action against its errant neighbour, North Korea on ...
    (soc.culture.korean)
  • North Korea threatens to call off talks with South
    ... SEOUL - North Korea threatened to halt talks with Seoul unless it ... North and South Korea have held numerous discussions on a wide array of measures ... "The South Korean authorities' announcement of their plan to stage those war ...
    (sci.med.diseases.hepatitis)